1
0
mirror of synced 2026-02-07 00:07:12 +00:00

All runCommand() calls should pass %CONFIG

This commit is contained in:
Axel Beckert
2012-11-27 23:31:21 +01:00
parent de9d3f2814
commit 2d79f13714

View File

@@ -4186,7 +4186,7 @@ sub END
$CONFIG{ 'extension' };
# Start the DomU
runCommand("$CONFIG{'xm'} create $cfg");
runCommand("$CONFIG{'xm'} create $cfg", \%CONFIG);
logprint("Started new Xen guest: $CONFIG{'hostname'} [$cfg]\n");
}
@@ -4235,7 +4235,7 @@ sub END
}
if ($option) {
runCommand("xen-delete-image $option --hostname=$CONFIG{'hostname'}");
runCommand("xen-delete-image $option --hostname=$CONFIG{'hostname'}", \%CONFIG);
} else {
die "Assertion that either --dir, --lvm, or --dir are given".
" failed.\nThis is probably a bug, please report it.";