created IPv6 environment

This commit is contained in:
Andreas Steffen
2006-06-06 05:41:21 +00:00
parent 32b6500fbf
commit fc0afb6810
49 changed files with 227 additions and 150 deletions
+3 -3
View File
@@ -58,10 +58,10 @@ else
cecho "done"
fi
for host in $HOSTNAMEIPS
for host in $HOSTNAMEIPV4
do
HOSTNAME=`echo $host | awk -F : '{ print $1 }'`
IP=`echo $host | awk -F : '{ print $2 }'`
HOSTNAME=`echo $host | awk -F, '{ print $1 }'`
IP=`echo $host | awk -F, '{ print $2 }'`
if [ `grep "$IP " ~/.ssh/known_hosts | wc -l` != "0" ]
then
cecho "!! Warning: An entry exists for the following IP address: $IP"