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
This commit is contained in:
parent
5c6873a1df
commit
b225bcbba0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user