diff --git a/live_exam_os/README.md b/live_exam_os/README.md index 8ccb59f00c93ab0006c52b5a85e439ccf4062109..744a4b2211c20b88724799310f922ccf3fa4ce82 100644 --- a/live_exam_os/README.md +++ b/live_exam_os/README.md @@ -49,7 +49,6 @@ Replace <image_name> with the name of your Docker image and <param> with the des | --luks-keys | Provide a list of additional keys for LUKS encryption. | | --ram | Use the system in RAM. | | --challenge | Specify the challenge in use by YubiKeys. | -| --arch | Set the architecture of the system (e.g., amd64). | | --pxe | Set the URL of the PXE and generate an initramfs, kernel, and squashfs for the PXE to use (use the URL of the folder where the squashfs is stored, not the direct link to the squashfs). | | --cache | Path to a folder with a clean filesystem already downloaded. | | --version | Version of Ubuntu (e.g., Noble). | diff --git a/live_exam_os/build.sh b/live_exam_os/build.sh index ad54c3269337c951a2b6b6bcb9cb710145735a5b..60f92202cf65a57c8e586db24ff7b482010c62fd 100755 --- a/live_exam_os/build.sh +++ b/live_exam_os/build.sh @@ -30,7 +30,6 @@ helper() { echo " --luks-keys List of additional keys" echo " --ram Using the system in RAM" echo " --challenge List of additional keys" - echo " --arch Set the architecture of the system (e.g., amd64)" echo " --pxe Set the url of the pxe and generate an initramfs, kernel and squashfs for the pxe to use (use the url of the folder where the squashfs is stored, not the direct link to the squashfs)" echo " --cache Path to a folder with a clean fs already downloaded" @@ -133,15 +132,6 @@ while [ "$#" -gt 0 ]; do helper fi ;; - --arch) - if [ -n "$2" ]; then - export ARCH="$2" - shift 2 - else - echo "Error: --arch requires an argument" >&2 - helper - fi - ;; *) echo "Unknown option: $1" >&2 helper @@ -271,7 +261,8 @@ fi echo "[Post-install...]" for script in config/03-post_install/*.sh; do - ./"$script" + echo " [Running $script...]" + run_command "$script" done echo "[Moving kernel...]" diff --git a/live_exam_os/config/01-packages_install/packages b/live_exam_os/config/01-packages_install/packages index c47aa32595b0bd1b62da0f9c7dcb3ff41986b147..6c3320c7dae5fd3d96e9e5a95803dc668f5f89d8 100644 --- a/live_exam_os/config/01-packages_install/packages +++ b/live_exam_os/config/01-packages_install/packages @@ -4,6 +4,7 @@ linux-image-generic linux-firmware cryptsetup-initramfs network-manager +network-manager-gnome xserver-xorg xserver-xorg-input-libinput xinit diff --git a/live_exam_os/config/03-post_install/9999-cleanup.sh b/live_exam_os/config/03-post_install/9000-cleanup.sh similarity index 100% rename from live_exam_os/config/03-post_install/9999-cleanup.sh rename to live_exam_os/config/03-post_install/9000-cleanup.sh diff --git a/live_exam_os/config/03-post_install/4000-firewall.sh b/live_exam_os/config/03-post_install/9999-firewall.sh similarity index 100% rename from live_exam_os/config/03-post_install/4000-firewall.sh rename to live_exam_os/config/03-post_install/9999-firewall.sh