Spaces:
Runtime error
Runtime error
| set -Eeuo pipefail | |
| : "${VGA:="vmware"}" | |
| : "${DISK_TYPE:="blk"}" | |
| APP="macOS" | |
| SUPPORT="https://github.com/dockur/macos" | |
| cd /run | |
| . reset.sh # Initialize system | |
| . install.sh # Get the OSX images | |
| . disk.sh # Initialize disks | |
| . display.sh # Initialize graphics | |
| . network.sh # Initialize network | |
| . boot.sh # Configure boot | |
| . proc.sh # Initialize processor | |
| . config.sh # Configure arguments | |
| trap - ERR | |
| version=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }') | |
| info "Booting ${APP}${BOOT_DESC} using QEMU v$version..." | |
| exec qemu-system-x86_64 ${ARGS:+ $ARGS} | |