Handle mac address generation for clonevm more similarly to mkvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
195dbf863c
commit
92ebc7a796
@ -2248,7 +2248,7 @@ sub process_request {
|
||||
} else {
|
||||
$confdata->{kvmnodedata} = {};
|
||||
}
|
||||
if ($command eq 'mkvm' or $command eq 'rpower' and (grep { "$_" eq "on" or $_ eq "boot" or $_ eq "reset" } @exargs)) {
|
||||
if ($command eq 'mkvm' or ($command eq 'clonevm' and (grep { "$_" eq '-b' } @exargs)) or ($command eq 'rpower' and (grep { "$_" eq "on" or $_ eq "boot" or $_ eq "reset" } @exargs))) {
|
||||
xCAT::VMCommon::requestMacAddresses($confdata,$noderange);
|
||||
my @dhcpnodes;
|
||||
foreach (keys %{$confdata->{dhcpneeded}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user