projects
/
invirt/packages/invirt-autoinstaller.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New guest-based autoinstaller
[invirt/packages/invirt-autoinstaller.git]
/
partial
/
post-copy
1
#!/bin/bash
2
TARGET="$1"
3
HOSTNAME="$2"
4
ROOTPW="$3"
5
(printf "%s\n" "$ROOTPW"; sleep .2; printf "%s\n" "$ROOTPW") \
6
| /usr/sbin/chroot "$TARGET" /usr/bin/passwd root