From 2d79f137145aa73833eb8ec6d5a1cc64e25dafb7 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 27 Nov 2012 23:31:21 +0100 Subject: [PATCH] All runCommand() calls should pass %CONFIG --- bin/xen-create-image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index 1c897a9..956386f 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -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.";