script used to create the client image

# packages added
apt-get -y update
apt-get -y upgrade
apt-get -y install ssh
apt-get -y install iproute
apt-get -y install iperf
apt-get -y install traceroute
# ssh-keys
# assume that the keys are in the current folder and they are \
named id_dsa_eWAN.pub and id_dsa_eWAN_server.pub
cat id_dsa_eWAN.pub >> authorized_keys2
cat id_dsa_eWAN_server.pub >> authorized_keys2
rm id_dsa_eWAN.pub
rm id_dsa_eWAN_server.pub
# change StrictHostKeyChecking option
cat /etc/ssh/ssh_config | sed \
"s/.*StrictHostKeyChecking.*$/StrictHostKeyChecking no/g" > aux
cp aux /etc/ssh/ssh_config



sansol 2006-06-09