Last change
on this file since 2838 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 | |
---|
9 | prefix=$1 |
---|
10 | |
---|
11 | if [ -e /usr/lib/xen-tools/common.sh ]; then |
---|
12 | . /usr/lib/xen-tools/common.sh |
---|
13 | else |
---|
14 | . ./hooks/common.sh |
---|
15 | fi |
---|
16 | |
---|
17 | logMessage Script $0 starting |
---|
18 | |
---|
19 | chroot ${prefix} passwd root -d |
---|
20 | |
---|
21 | logMessage Script $0 finished |
---|
Note: See
TracBrowser
for help on using the repository browser.