From 85c9b64ec808442943a864c1043f426acf437457 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 18 Feb 2009 02:40:14 -0500 Subject: [PATCH] unset root password in -autoinstaller-guest svn path=/trunk/packages/invirt-autoinstaller/; revision=2167 --- debian/changelog | 6 ++++++ debian/invirt-autoinstaller-guest.postinst | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 debian/invirt-autoinstaller-guest.postinst diff --git a/debian/changelog b/debian/changelog index dc36cbd..569512e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 index 0000000..a0226cf --- /dev/null +++ b/debian/invirt-autoinstaller-guest.postinst @@ -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 -- 1.7.9.5