diff options
| author | sickcodes <[email protected]> | 2021-03-04 09:12:50 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-03-04 09:12:50 +0000 |
| commit | 408248ae4f95f4c2760afa94bfb06d799c7317f8 (patch) | |
| tree | 096cf59af731fc18addabef866a5b240cd5e299d /Dockerfile.naked | |
| parent | Add WIDTH and HEIGHT environment variables (diff) | |
| download | docker-osx-408248ae4f95f4c2760afa94bfb06d799c7317f8.tar.xz docker-osx-408248ae4f95f4c2760afa94bfb06d799c7317f8.zip | |
Missing WIDTH and HEIGHT from naked and auto Dockerfiles
Diffstat (limited to 'Dockerfile.naked')
| -rw-r--r-- | Dockerfile.naked | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Dockerfile.naked b/Dockerfile.naked index 09db8a3..e2a2806 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -122,11 +122,13 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS ; } \ ; [[ "${GENERATE_UNIQUE}" == true ]] && { \ ./Docker-OSX/custom/generate-unique-machine-values.sh \ - --count 1 \ - --tsv ./serial.tsv \ - --bootdisks \ - --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ - --output-env "${ENV:=/env}" || exit 1 \ + --count 1 \ + --tsv ./serial.tsv \ + --bootdisks \ + --width "${WIDTH:-1920}" \ + --height "${HEIGHT:-1080}" \ + --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" \ + --output-env "${ENV:=/env}" || exit 1 \ ; } \ ; [[ "${GENERATE_SPECIFIC}" == true ]] && { \ source "${ENV:=/env}" \ @@ -136,6 +138,8 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS --board-serial "${BOARD_SERIAL}" \ --uuid "${UUID}" \ --mac-address "${MAC_ADDRESS}" \ + --width "${WIDTH:-1920}" \ + --height "${HEIGHT:-1080}" \ --output-bootdisk "${BOOTDISK:-/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2}" || exit 1 \ ; } \ ; case "$(file --brief /bootdisk)" in \ |