-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:
jbjohnso 2010-09-03 18:54:30 +00:00
parent bdbca89b78
commit cab4f3c0d1

View File

@ -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';
}