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