14 if test -f /etc/lsb-release; then
16 if [ "x$DISTRIB_ID" = xUbuntu ]; then
17 perl -i~ -pe 's/ main$/ main universe/ if m/^deb http/' \
23 apt-get -y --force-yes install libc6-xen
28 proc /proc proc defaults 0 0
29 /dev/hda1 / $adt_fs_type defaults,errors=remount-ro 0 1
33 cat >/etc/network/interfaces <<END
35 iface lo inet loopback
38 iface eth0 inet static
39 address $adt_guest_ipaddr
40 broadcast $adt_guest_ipaddr
41 netmask 255.255.255.255
42 pointopoint $adt_host_ipaddr
43 gateway $adt_host_ipaddr
46 echo $adt_guest_hostname >/etc/hostname
48 apt-get -y --force-yes install \
49 openssh-server ed build-essential
53 $pep= PermitEmptyPasswords;
63 print $want or die $! unless $done;
66 ' /etc/ssh/sshd_config