-Correct list reference access error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7354 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bdbca89b78
commit
cab4f3c0d1
@ -2130,7 +2130,7 @@ sub create_nic_devs {
|
||||
connected=>0,
|
||||
startConnected => 1
|
||||
);
|
||||
my $model=$tablecfg{vm}->{$node}->{nicmodel};
|
||||
my $model=$tablecfg{vm}->{$node}->[0]->{nicmodel};
|
||||
unless ($model) {
|
||||
$model='e1000';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user