unset root password in -autoinstaller-guest 0.0.16
authorGreg Price <price@mit.edu>
Wed, 18 Feb 2009 07:40:14 +0000 (02:40 -0500)
committerGreg Price <price@mit.edu>
Wed, 18 Feb 2009 07:40:14 +0000 (02:40 -0500)
svn path=/trunk/packages/invirt-autoinstaller/; revision=2167

debian/changelog
debian/invirt-autoinstaller-guest.postinst [new file with mode: 0644]

index dc36cbd..569512e 100644 (file)
@@ -1,3 +1,9 @@
+invirt-autoinstaller (0.0.16) unstable; urgency=low
+
+  * Unset root password in guest, so it's unset in autoinstalled images.
+
+ -- Greg Price <price@mit.edu>  Wed, 18 Feb 2009 02:39:29 -0500
+
 invirt-autoinstaller (0.0.15) unstable; urgency=low
 
   * Poke policy-rc.d while using aptitude so we don't try to start daemons.
diff --git a/debian/invirt-autoinstaller-guest.postinst b/debian/invirt-autoinstaller-guest.postinst
new file mode 100644 (file)
index 0000000..a0226cf
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case "$1" in
+  configure)
+    passwd root -d
+    ;;
+  *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0