aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/restore-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/restore-defaults')
-rwxr-xr-xtesting/scripts/restore-defaults2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/scripts/restore-defaults b/testing/scripts/restore-defaults
index 129e46f56..b1dae1ea2 100755
--- a/testing/scripts/restore-defaults
+++ b/testing/scripts/restore-defaults
@@ -47,7 +47,7 @@ if [ -d $TESTSDIR/${testname}/hosts ]
then
for host in `ls $TESTSDIR/${testname}/hosts`
do
- eval HOSTLOGIN="root@`echo $HOSTNAMEIPS | sed -n -e "s/^.*${host}://gp" | awk -F : '{ print $1 }' | awk '{ print $1 }'`"
+ eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
scp -rp $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
done
fi