Commit fceada41 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor tweak to node_id regex.

parent 8317cc2a
......@@ -705,7 +705,7 @@ sub vz_vnodeCreate {
my $reload_args_ref = $vnconfig->{'reloadinfo'};
my $vmid;
if ($vnode_id =~ /^\w+\d+\-(\d+)$/) {
if ($vnode_id =~ /^[-\w]+\-(\d+)$/) {
$vmid = $1;
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment