new stack trace, linode fixes, minor improvements
[automated-distro-installer] / fai / config / distro-install-common / end
index 2871106fbc593a0196242fcc2074c0e86fe2a79f..1fd8ca6a778cfcba6bb13c0d3ffc9ceba67be740 100755 (executable)
@@ -22,7 +22,11 @@ USER2PW=/q/root/shadow/user2
 if ifclass ziva; then
   ROOTPW=/q/root/shadow/ziva
 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() {