root@param:# cat /etc/hosts
192.168.10.100 Sukhoi
192.168.10.111 Agni
192.168.10.112 param
root@param:# for f in $(ls -1 /etc/hostname.*); do echo "Interface file -> $f; echo; cat $f; echo; done
Interface file -> hostname.ce0
sukhoi netmask + broadcast + group production deprecated -failover up \
addif param netmask + broadcast + failover up
Interface file -> hostname.ce1
agni netmask + broadcast + group production deprecated -failover standby up
No comments:
Post a Comment