diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-06 05:41:21 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-06 05:41:21 +0000 |
commit | fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe (patch) | |
tree | 8d004acd6e43592a6e5707096c9f3e4c4b1c181b /testing/scripts/build-umlrootfs | |
parent | 32b6500fbfe063f3efb5589facd027f4c6cf08ed (diff) | |
download | strongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.bz2 strongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.xz |
created IPv6 environment
Diffstat (limited to 'testing/scripts/build-umlrootfs')
-rwxr-xr-x | testing/scripts/build-umlrootfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs index 0dd41c04f..afc40b12b 100755 --- a/testing/scripts/build-umlrootfs +++ b/testing/scripts/build-umlrootfs @@ -152,7 +152,7 @@ cp $LOOPDIR/etc/ssh/ssh_host_rsa_key $LOOPDIR/root/.ssh/id_rsa for host in $STRONGSWANHOSTS do - eval ip="`echo $HOSTNAMEIPS | sed -n -e "s/^.*${host}://gp" | awk -F : '{ print $1 }' | awk '{ print $1 }'`" + eval ip="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F- '{ print $1 }' | awk '{ print $1 }'`" echo "$host,$ip `cat $HOSTCONFIGDIR/ssh_host_rsa_key.pub`" >> $LOOPDIR/root/.ssh/known_hosts echo "`cat $HOSTCONFIGDIR/ssh_host_rsa_key.pub` root@$host" >> $LOOPDIR/root/.ssh/authorized_keys done |