From cab4f3c0d1a6528d5cc74fb08587511b79201cb7 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 3 Sep 2010 18:54:30 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 07fbd702d..f85ba594e 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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'; }