From 003290702e0045d1baf193912bf75736f6f3b38e Mon Sep 17 00:00:00 2001 From: ertaozh Date: Wed, 30 Nov 2016 02:59:40 -0500 Subject: [PATCH] a syntax error within mknb.pm --- xCAT-server/lib/xcat/plugins/mknb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/mknb.pm b/xCAT-server/lib/xcat/plugins/mknb.pm index 76e0b2a05..e920fb1e4 100644 --- a/xCAT-server/lib/xcat/plugins/mknb.pm +++ b/xCAT-server/lib/xcat/plugins/mknb.pm @@ -74,7 +74,7 @@ sub process_request { } } my $nicips = xCAT::NetworkUtils->get_nic_ip(); - foreach (keys $nicips) { + foreach (keys %$nicips) { # To support tagged vlan, create entries in the hash for the # interface name removing the physical interface ending: # 'enP1p12s0f0.2@enP1p12s0f0' => 'enP1p12s0f0.2'