Also don't bother in the installer image, because it doesn't help.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2169
--- /dev/null
+#!/bin/sh
+#
+# This script unsets the root password, so the VM owner can log in at
+# the console.
+#
+
+prefix=$1
+
+if [ -e /usr/lib/xen-tools/common.sh ]; then
+ . /usr/lib/xen-tools/common.sh
+else
+ . ./hooks/common.sh
+fi
+
+logMessage Script $0 starting
+
+chroot ${prefix} passwd root -d
+
+logMessage Script $0 finished
--- /dev/null
+../debian.d/36-clear-root-password
\ No newline at end of file
+invirt-autoinstaller (0.0.17) unstable; urgency=low
+
+ * Unset root password in xen-create-image.
+ * Don't bother unsetting the password in the installer image, because it
+ doesn't actually affect the guest.
+
+ -- Greg Price <price@mit.edu> Wed, 18 Feb 2009 22:12:26 -0500
+
invirt-autoinstaller (0.0.16) unstable; urgency=low
* Unset root password in guest, so it's unset in autoinstalled images.
+++ /dev/null
-#!/bin/sh
-
-case "$1" in
- configure)
- passwd root -d
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0