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

Last change on this file since 2440 was 2172, checked in by price, 16 years ago

renumber {36,96}-clear-root-password to go after install-base-system

  • Property svn:executable set to *
File size: 402 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#  Must come after 95-install-base-system, since that disables root's password.
7#
8
9prefix=$1
10
11if [ -e /usr/lib/xen-tools/common.sh ]; then
12    . /usr/lib/xen-tools/common.sh
13else
14    . ./hooks/common.sh
15fi
16
17logMessage Script $0 starting
18
19chroot ${prefix} passwd root -d
20
21logMessage Script $0 finished
Note: See TracBrowser for help on using the repository browser.