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/' \
25 proc /proc proc defaults 0 0
26 /dev/hda1 / $adt_fs_type defaults,errors=remount-ro 0 1
30 cat >/etc/network/interfaces <<END
32 iface lo inet loopback
35 iface eth0 inet static
36 address $adt_guest_ipaddr
37 broadcast $adt_guest_ipaddr
38 netmask 255.255.255.255
39 pointopoint $adt_host_ipaddr
40 gateway $adt_host_ipaddr
43 echo $adt_guest_hostname >/etc/hostname
45 essc=/etc/ssh/sshd_config
48 $pep= PermitEmptyPasswords;
58 print $want or die $! unless $done;
64 if [ x"$adt_normaluser" != x ]; then
65 adduser --gecos 'adtxenlvm testing normal user account' \
66 --disabled-password ${adt_normaluser}
70 apt-get -y install gdebi-core || apt-get -y install gdebi