mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
Finish fix from previous commit
The change to remote behavior was not fully compensated for in previous commit. Go farther and ensure that the classic syntax is executed exactly is it was.
This commit is contained in:
@ -2557,9 +2557,9 @@ sub addnic
|
||||
{ #add a section if not there
|
||||
#$restartdhcp=1;
|
||||
#print "Adding NIC $nic\n";
|
||||
if ($nic =~ /!remote!/) {
|
||||
#push @$conf, "#shared-network $nic {\n";
|
||||
#push @$conf, "#\} # $nic nic_end\n";
|
||||
if ($nic eq '!remote!') {
|
||||
push @$conf, "#shared-network $nic {\n";
|
||||
push @$conf, "#\} # $nic nic_end\n";
|
||||
} else {
|
||||
push @$conf, "shared-network $nic {\n";
|
||||
push @$conf, "\} # $nic nic_end\n";
|
||||
|
Reference in New Issue
Block a user