git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44168eb
)
add a site_admin account to the bootcd. passwd value can be changed at image build...
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 9 Dec 2008 23:27:20 +0000
(23:27 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 9 Dec 2008 23:27:20 +0000
(23:27 +0000)
prep.sh
patch
|
blob
|
history
diff --git
a/prep.sh
b/prep.sh
index
68bebcf
..
da63c48
100755
(executable)
--- a/
prep.sh
+++ b/
prep.sh
@@
-50,6
+50,9
@@
pkgsfile=$(pl_locateDistroFile ../build/ $pldistro bootcd.pkgs)
pl_root_mkfedora $bootcd $pldistro $pkgsfile
pl_root_tune_image $bootcd
+# Add site_admin console account to BootCD: with root priv, and empty passwd
+chroot ${bootcd} /usr/sbin/useradd -p "" -o -g 0 -u 0 -m site_admin
+
# Install ipnmac (for SuperMicro machines with IPMI)
echo "* Installing IPMI utilities"
install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac