source: trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/36-clear-root-password @ 2169

Last change on this file since 2169 was 2169, checked in by price, 15 years ago

unset root password in xen-create-image

Also don't bother in the installer image, because it doesn't help.

  • Property svn:executable set to *
File size: 320 bytes
Line 
1#!/bin/sh
2#
3#  This script unsets the root password, so the VM owner can log in at
4#  the console.
5#
6
7prefix=$1
8
9if [ -e /usr/lib/xen-tools/common.sh ]; then
10    . /usr/lib/xen-tools/common.sh
11else
12    . ./hooks/common.sh
13fi
14
15logMessage Script $0 starting
16
17chroot ${prefix} passwd root -d
18
19logMessage Script $0 finished
Note: See TracBrowser for help on using the repository browser.