diff --git a/steps/60-user.step b/steps/60-user.step new file mode 100644 index 0000000..efc2346 --- /dev/null +++ b/steps/60-user.step @@ -0,0 +1,14 @@ +#!/bin/sh + +echo -n "~> Do you want to create an user account? (Y/n) " +read answer + +if [ "$answer" == "n" ]; then + exit 0 +else + echo -n " Name of your new user?" + read name + arch-chroot /mnt useradd -m $name + passwd $name + exit 0 +fi