From 171282e820a125daf7da1ed9d16b41ce940e3e88 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 30 Nov 2009 18:54:39 +0000 Subject: [PATCH] -Correct variable names in previous checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 2e75ba641..d0b9697c4 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -1093,11 +1093,11 @@ sub process_request { if ($command eq 'mkvm' or $command eq 'rpower' and (grep { "$_" eq "on" or $_ eq "boot" or $_ eq "reset" } @exargs)) { xCAT::VMCommon::requestMacAddresses($confdata,$noderange); my @dhcpnodes; - foreach (keys %{$tablecfg{dhcpneeded}}) { + foreach (keys %{$confdata->{dhcpneeded}}) { push @dhcpnodes,$_; - delete $tablecfg{dhcpneeded}->{$_}; + delete $confdata->{dhcpneeded}->{$_}; } - $executerequest->({command=>['makedhcp'],node=>\@dhcpnodes}); + $doreq->({command=>['makedhcp'],node=>\@dhcpnodes}); } if ($command eq 'revacuate' or $command eq 'rmigrate') {