16 if test -f /etc/lsb-release; then
18 if [ "x$DISTRIB_ID" = xUbuntu ]; then
19 perl -i~ -pe 's/ main$/ main universe/ if m/^deb http/' \
27 proc /proc proc defaults 0 0
28 /dev/hda1 / $adt_fs_type defaults,errors=remount-ro 0 1
31 if $adt_provideswap; then
32 cat >>/etc/fstab <<END
33 /dev/hda2 none swap sw 0 0
38 cat >/etc/network/interfaces <<END
40 iface lo inet loopback
43 iface eth0 inet static
44 address $adt_guest_ipaddr
45 broadcast $adt_guest_ipaddr
46 netmask 255.255.255.255
47 pointopoint $adt_host_ipaddr
48 gateway $adt_host_ipaddr
51 echo $adt_guest_hostname >/etc/hostname
53 essc=/etc/ssh/sshd_config
56 $pep= PermitEmptyPasswords;
66 print $want or die $! unless $done;
72 if [ x"$adt_normaluser" != x ]; then
73 adduser --gecos 'adtxenlvm testing normal user account' \
74 --disabled-password ${adt_normaluser}
78 apt-get install libc6-xen ||: