From b9e083106a7bdc77fbc867cc7f213b99f65fe066 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 14 Jul 2011 16:36:29 +0000 Subject: [PATCH] Correct lldapd configuration in nbroot2 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/xcat-cmdline.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-nbroot2/xcat-cmdline.sh b/xCAT-nbroot2/xcat-cmdline.sh index 8e53f163f..b79f0175b 100755 --- a/xCAT-nbroot2/xcat-cmdline.sh +++ b/xCAT-nbroot2/xcat-cmdline.sh @@ -57,13 +57,13 @@ export PUBKEY mkdir -p /var/lib/lldpad echo 'lldp :' >> /var/lib/lldpad/lldpad.conf echo '{' >> /var/lib/lldpad/lldpad.conf -for iface in `ip link |grep -v '^ '|awk '{print $2}'|sed -e 's/:$//'`; do +for iface in `ip link |grep -v '^ '|awk '{print $2}'|sed -e 's/:$//|grep -v lo'`; do echo "$iface :" >> /var/lib/lldpad/lldpad.conf echo "{" >> /var/lib/lldpad/lldpad.conf echo "tlvid00000006 :" >> /var/lib/lldpad/lldpad.conf echo "{" >> /var/lib/lldpad/lldpad.conf echo info = '"'$PUBKEY'";' >> /var/lib/lldpad/lldpad.conf - echo enableTx = true; >> /var/lib/lldpad/lldpad.conf + echo 'enableTx = true;' >> /var/lib/lldpad/lldpad.conf echo '};' >> /var/lib/lldpad/lldpad.conf echo 'adminStatus = 3;' >> /var/lib/lldpad/lldpad.conf echo '};' >> /var/lib/lldpad/lldpad.conf