changing root password at pxeboot stage
This commit is contained in:
parent
6d2f3594ef
commit
8f4b8b44d7
|
@ -141,7 +141,7 @@ chmod +x $MNT_DIR/usr/local/bin/start_me_up.sh
|
|||
chmod +x $MNT_DIR/usr/local/bin/shut_me_down.sh
|
||||
|
||||
chroot $MNT_DIR systemctl enable start-me-up || fail "failed to enable start-me-up"
|
||||
chroot $MNT_DIR usermod -p '$1$ov9.ZGAy$bTUnP5BXx2j8Nv20chk860' root
|
||||
chroot $MNT_DIR usermod -p '$1$A5VSg/1j$qqNLwyTlU5BH1IUMPStFB0' root
|
||||
|
||||
|
||||
#echo "Enter root password:"
|
||||
|
|
Loading…
Reference in New Issue