diff --git a/install-stage2.sh b/install-stage2.sh index ce933e0..2bfdbe6 100644 --- a/install-stage2.sh +++ b/install-stage2.sh @@ -132,4 +132,14 @@ else exit 1 fi +# Stage 2 Tasks +echo "Setting up user..." +read -p "Enter username: " NEW_USER +useradd -m -G wheel "$NEW_USER" +passwd "$NEW_USER" + +echo "Cleaning up installation files..." +rm -rf "$STAGE2_DIR" +mv /mnt/target/etc/sv/agetty-tty1/conf.bak /mnt/target/etc/sv/agetty-tty1/conf >> $LOGFILE 2>&1 + bash --norc --noprofile