abudden avatar abudden committed 3b1c604

Password is not viable when using pipe to kickstart.

Comments (0)

Files changed (1)

 # Make the keyboard work
 loadkeys uk
-read -s -p "Enter root password: " password1
-echo ""
-read -s -p "Re-enter password: " password2
-echo ""
-if [ x$password1 != x$password2 ]
-	echo "Passwords do not match"
-	exit
 # Partitioning - use parted to create:
 # /boot: 512 MB (with 1 MB free at the start for grub)
 # swap: 1024 MB
 arch-chroot /mnt /arch_install_chroot.sh
 rm /mnt/arch_install_chroot.sh
-echo "root:${password1}" | chpasswd --root /mnt
-umount /mnt/{boot,home,}
-echo "Done: power off and remove the CD before rebooting."
+echo "Done: use passwd to set the root password, then"
+echo "power off, remove the CD and reboot."
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.