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:
37e93c3
)
escape "" chars.
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 9 Dec 2008 23:51:38 +0000
(23:51 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Tue, 9 Dec 2008 23:51:38 +0000
(23:51 +0000)
prep.sh
patch
|
blob
|
history
diff --git
a/prep.sh
b/prep.sh
index
6a27779
..
fe69c92
100755
(executable)
--- a/
prep.sh
+++ b/
prep.sh
@@
-51,7
+51,7
@@
pl_root_mkfedora $bootcd $pldistro $pkgsfile
pl_root_tune_image $bootcd
# Add site_admin console account to BootCD: with root priv, and empty passwd
pl_root_tune_image $bootcd
# Add site_admin console account to BootCD: with root priv, and empty passwd
-CRYPT_SA_PASSWORD=$(python -c "import crypt, random, string; salt = [random.choice(string.letters + string.digits + \"./\") for i in range(0,8)] ; print crypt.crypt('site_admin', '\$1\$' +
"
".join(salt) + '\$')")
+CRYPT_SA_PASSWORD=$(python -c "import crypt, random, string; salt = [random.choice(string.letters + string.digits + \"./\") for i in range(0,8)] ; print crypt.crypt('site_admin', '\$1\$' +
\"\
".join(salt) + '\$')")
chroot ${bootcd} /usr/sbin/useradd -p "$CRYPT_SA_PASSWORD" -o -g 0 -u 0 -m site_admin
# Install ipnmac (for SuperMicro machines with IPMI)
chroot ${bootcd} /usr/sbin/useradd -p "$CRYPT_SA_PASSWORD" -o -g 0 -u 0 -m site_admin
# Install ipnmac (for SuperMicro machines with IPMI)