summaryrefslogtreecommitdiff
path: root/just_scripts/run-live-installer.sh
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-12 23:33:44 +0800
committertranch <tranch.xiao@gmail.com>2026-07-12 23:33:44 +0800
commit42a6ff3286804854c1c21a7e62158f09e19a9b09 (patch)
tree1276369ae98f138054878e04dac49b8a9c3ca4d1 /just_scripts/run-live-installer.sh
parent7280cc006eefe14a71ee19a66bc8b2c6d55c4887 (diff)
downloadAeroCore-OS-42a6ff3286804854c1c21a7e62158f09e19a9b09.tar.gz
AeroCore-OS-42a6ff3286804854c1c21a7e62158f09e19a9b09.zip
Add live installer build workflow
Add a Bazzite-style installer payload, CI workflow, and local\nPodman commands for building and testing the live ISO.\n\nFix stale disk image configuration references and installer targets.
Diffstat (limited to 'just_scripts/run-live-installer.sh')
-rwxr-xr-xjust_scripts/run-live-installer.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/just_scripts/run-live-installer.sh b/just_scripts/run-live-installer.sh
new file mode 100755
index 0000000..2723aae
--- /dev/null
+++ b/just_scripts/run-live-installer.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+project_root="$(git rev-parse --show-toplevel)"
+cd "${project_root}"
+
+image_tag="${IMAGE_TAG:-$(just generate-default-tag)}"
+iso="${project_root}/output/aerocore-os-${image_tag}-amd64.iso"
+
+if [[ ! -f "${iso}" ]]; then
+ just build-live-installer
+fi
+
+podman run --rm --cap-add NET_ADMIN \
+ --publish 127.0.0.1:8006:8006 \
+ --env CPU_CORES=2 \
+ --env RAM_SIZE=4G \
+ --env DISK_SIZE=64G \
+ --env BOOT_MODE=uefi \
+ --device /dev/kvm \
+ --volume "${iso}:/boot.iso:ro" \
+ docker.io/qemux/qemu-docker