From b225bcbba0dd9cea0ef434ada69dc5abcaebfc52 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 14 Jul 2011 16:50:46 +0000 Subject: [PATCH] Add sysName to advertised LLDP TLVs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/xcat-cmdline.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-nbroot2/xcat-cmdline.sh b/xCAT-nbroot2/xcat-cmdline.sh index 85d8fc89d..d1c21b45f 100755 --- a/xCAT-nbroot2/xcat-cmdline.sh +++ b/xCAT-nbroot2/xcat-cmdline.sh @@ -60,6 +60,10 @@ echo '{' >> /var/lib/lldpad/lldpad.conf 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 "tlvid00000005 :" >> /var/lib/lldpad/lldpad.conf + echo "{" >> /var/lib/lldpad/lldpad.conf + echo 'enableTx = true;' >> /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