From fff917132ec4ddb5ef8f34ac790d9959963dd74a Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 21 Jul 2021 22:20:48 +0200 Subject: now with encryption --- run_archiso | 174 ------------------------------------------------------------ 1 file changed, 174 deletions(-) delete mode 100755 run_archiso (limited to 'run_archiso') diff --git a/run_archiso b/run_archiso deleted file mode 100755 index 983a003..0000000 --- a/run_archiso +++ /dev/null @@ -1,174 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2020 David Runge -# -# SPDX-License-Identifier: GPL-3.0-or-later -# -# A simple script to run an archiso image using qemu. The image can be booted -# using BIOS or UEFI. -# -# Requirements: -# - qemu -# - edk2-ovmf (when UEFI booting) - - -set -eu - -print_help() { - local usagetext - IFS='' read -r -d '' usagetext < 0 )); then - while getopts 'abc:dhi:suv' flag; do - case "$flag" in - a) - accessibility='on' - ;; - b) - boot_type='bios' - ;; - c) - oddimage="$OPTARG" - ;; - d) - mediatype='hd' - ;; - h) - print_help - exit 0 - ;; - i) - image="$OPTARG" - ;; - u) - boot_type='uefi' - ;; - s) - secure_boot='on' - ;; - v) - display='none' - qemu_options+=(-vnc 'vnc=0.0.0.0:0,vnc=[::]:0') - ;; - *) - printf '%s\n' "Error: Wrong option. Try 'run_archiso -h'." - exit 1 - ;; - esac - done -else - print_help - exit 1 -fi - -check_image -run_image -- cgit v1.2.3