save
This commit is contained in:
@@ -66,7 +66,7 @@ for cmd in sops envsubst xorriso; do
|
|||||||
command -v "$cmd" &>/dev/null || error "'$cmd' not found. Install it first."
|
command -v "$cmd" &>/dev/null || error "'$cmd' not found. Install it first."
|
||||||
done
|
done
|
||||||
|
|
||||||
export SOPS_AGE_KEY_FILE="${SOPS_AGE_KEY_FILE:-$HOME/.config/sops/age/keys.txt}"
|
export SOPS_AGE_KEY_FILE="${SOPS_AGE_KEY_FILE:-/persists/sops/age/keys.txt}"
|
||||||
[[ -f "$SOPS_AGE_KEY_FILE" ]] || error "age key not found at $SOPS_AGE_KEY_FILE"
|
[[ -f "$SOPS_AGE_KEY_FILE" ]] || error "age key not found at $SOPS_AGE_KEY_FILE"
|
||||||
|
|
||||||
# ── Decrypt secrets → render template ─────────────────────────────────────────
|
# ── Decrypt secrets → render template ─────────────────────────────────────────
|
||||||
|
|||||||
2
qemu.sh
Normal file → Executable file
2
qemu.sh
Normal file → Executable file
@@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
## Create a virtual disk first
|
## Create a virtual disk first
|
||||||
## Uncomment 'create' if test-disk missing
|
## Uncomment 'create' if test-disk missing
|
||||||
# qemu-img create -f qcow2 /tmp/test-disk.qcow2 20G
|
qemu-img create -f qcow2 /tmp/test-disk.qcow2 20G
|
||||||
|
|
||||||
# Boot the ISO as USB with the virtual disk as install target
|
# Boot the ISO as USB with the virtual disk as install target
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
|
|||||||
Reference in New Issue
Block a user