fix post_install not installing paru and add auto quit for building vm

This commit is contained in:
JOLIMAITRE Matthieu 2024-02-20 03:50:04 +01:00
parent e6364518f9
commit 62fb159cac
2 changed files with 11 additions and 10 deletions

View file

@ -5,12 +5,13 @@ fi
loadkeys fr
(
set -e
echo "[.zlogin] ____ starting auto install ____"
archinstall --config ./user_configuration.json --creds ./user_credentials.json --silent
echo "[.zlogin] ____ finished auto install ____"
echo "[.zlogin] ____ starting post install ____"
sh post_install.sh
echo "[.zlogin] ____ finished post install ____"
# echo "[.zlogin] shutting down ..."
# # shutdown now
shutdown now
)

View file

@ -19,4 +19,4 @@ log "installing paru"
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si
" | arch-chroot "$ROOT" su user sh
" | arch-chroot "$ROOT" su user