iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new stack trace, linode fixes, minor improvements
[automated-distro-installer]
/
fai
/
config
/
distro-install-common
/
end
diff --git
a/fai/config/distro-install-common/end
b/fai/config/distro-install-common/end
index 3d061b3445e961542562eccc59a813187c382528..1fd8ca6a778cfcba6bb13c0d3ffc9ceba67be740 100755
(executable)
--- a/
fai/config/distro-install-common/end
+++ b/
fai/config/distro-install-common/end
@@
-24,6
+24,9
@@
if ifclass ziva; then
else
# if doesn't exist, we dont set one
ROOTPW=/q/root/shadow/standard
+ if [[ ! -e $ROOTPW ]]; then
+ ROOTPW=/q/root/shadow/$HOSTNAME
+ fi
fi
chpw() {