15 if test -f /etc/lsb-release; then
17 if [ "x$DISTRIB_ID" = xUbuntu ]; then
18 perl -i~ -pe 's/ main$/ main universe/ if m/^deb http/' \
26 proc /proc proc defaults 0 0
27 /dev/hda1 / $adt_fs_type defaults,errors=remount-ro 0 1
31 cat >/etc/network/interfaces <<END
33 iface lo inet loopback
36 iface eth0 inet static
37 address $adt_guest_ipaddr
38 broadcast $adt_guest_ipaddr
39 netmask 255.255.255.255
40 pointopoint $adt_host_ipaddr
41 gateway $adt_host_ipaddr
44 echo $adt_guest_hostname >/etc/hostname
46 essc=/etc/ssh/sshd_config
49 $pep= PermitEmptyPasswords;
59 print $want or die $! unless $done;
65 if [ x"$adt_normaluser" != x ]; then
66 adduser --gecos 'adtxenlvm testing normal user account' \
67 --disabled-password ${adt_normaluser}
71 apt-get -y install gdebi-core || apt-get -y install gdebi