chiark / gitweb /
get adtxenu username right; suppress debug properly when !--debug
[autopkgtest.git] / xen / fixups-inside
index eca190e5fd6778f87831c2905cccb142fa6d1303..048cd63de05d4f142e65705e270a94c0a9d04158 100755 (executable)
@@ -6,6 +6,7 @@ adt_guest_hostname=$2
 adt_host_ipaddr=$3
 adt_guest_ipaddr=$4
 adt_fs_type=$5
+adt_normaluser=$6
 
 echo '(---'
 
@@ -61,4 +62,12 @@ perl -wne '
 ' $essc >$essc.new
 mv $essc.new $essc
 
+if [ x"$adt_normaluser" != x ]; then
+       adduser --gecos 'adtxenlvm testing normal user account' \
+               --disabled-password ${adt_normaluser}
+fi
+
+apt-get update
+apt-get -y install gdebi-core || apt-get -y install gdebi
+
 echo '---)'