sickcodes
1b55c6e7e5
Change `Penryn` to `max`
...
As stated in QEMU 6
Can test currently with:
`-e CPU=max \`
```
[user@hostname ~]$ qemu-system-x86_64 -cpu help
x86 Penryn (alias configured by machine type)
x86 Penryn-v1 Intel Core 2 Duo P9xxx (Penryn Class Core 2)
...
x86 base base CPU model type with no features enabled
x86 host KVM processor with all supported host features
x86 max Enables all features supported by the accelerator in the current host
```
See https://github.com/sickcodes/Docker-OSX/issues/304
4 years ago
sickcodes
866a429848
Add CPUID_FLAGS to edit the CPUID flags on the fly.
4 years ago
sickcodes
84e1682700
Prepare nakedvnc for hub.docker.com. Add `ENV BOOT_ARGS=` to supply additon boot arguments, for example, `vmx,rdtscp`. Add `ENV CPU=Penryn` to allow changes to the CPU emulation, for example, `Skylake-Client`
4 years ago
sickcodes
c31e2618c6
Disable chown warning
4 years ago
sickcodes
5dc2f4fd04
Temp Fix Failed to boot OSX with GENERATE_UNIQUE #244
4 years ago
sickcodes
309ff1cd51
Downgrade file to 5.39 due to libguestfs bug. All Dockerfiles though.
4 years ago
sickcodes
15cb15e153
[@aronzvi]( https://github.com/aronzvi ) - Fixed Failed to boot OSX with GENERATE_UNIQUE #244
4 years ago
sickcodes
19439bf2bd
Add LIBGUESTFS debug & trace commands, exit on fail. Update credits
4 years ago
sickcodes
d4ffc1f2f3
Restore fetch-macOS.py from OSX-KVM previous
4 years ago
sickcodes
2414f466d0
Enable interactive QEMU. Remove envsubst since we are already using bash. Add -x flag
4 years ago
sickcodes
27cd8247ee
Substitution if not null only
4 years ago
sickcodes
9e7342f966
Add all ENV variables to each dockerfile for readability. Add RAM allocation buffer and cache drop bug fix. Add kvm and libvirt groups. Add IMAGE_FORMAT=qcow2 to allow IMAGE_FORMAT=raw too.
4 years ago
sickcodes
f6e0bfa202
Default RAM=3
...
Fixes https://github.com/sickcodes/Docker-OSX/issues/207
4 years ago
sickcodes
d4b8a0f2be
Fix RAM math error for -e RAM=max
4 years ago
sickcodes
57e8d0c06d
Typo: Use RAM=max or RAM=half to suit all machines, dynamically.
4 years ago
sickcodes
413b09df93
Use RAM=max or RAM=half to suit all machines, dynamically.
4 years ago
sickcodes
502457528a
Propose RAM default to 2G instead of 8G
...
Alternative, calc at runtime?
Perhaps
```
-e RAM=auto \
```
```
RAM=${RAM:-$(("$(head -n1 /proc/meminfo | tr -dc '[:digit:]') / 900000"))}000 \
exec qemu-system-x86_64 -m ${RAM} \
```
4 years ago
sickcodes
e4c0b64200
FIRST: sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}"
4 years ago
sickcodes
9fffacde9a
Incorrect link update
4 years ago
sickcodes
5a71e19756
./custom is now ./osx-serial-generator via submodule. Submodule inits.
4 years ago
sickcodes
c2916fd487
Dockerfile syntax error.
4 years ago
sickcodes
7382df8fa1
Fix BOOTDISK expected logic
4 years ago
sickcodes
7d6e5b30d8
Remove useless case statements. Allow -e HEADLESS=true as human readable alternative to -e DISPLAY=:99.
4 years ago
sickcodes
8935ce08ab
Fix bootdisk not getting written to persistent file when using NOPICKER=true. NOPICKER=true is overridden by a custom plist now anyway.
4 years ago
sickcodes
2077c3a453
v4.1 WIDTH/HEIGHT && move resolution README note
4 years ago
sickcodes
4b278bc42c
Shift exits
4 years ago
sickcodes
45a5f2c074
wget -O case sensitive, silence source /env errors.
4 years ago
sickcodes
377c4e7cc5
Add -e MASTER_PLIST_URL to change the input config.plist at runtime.
4 years ago
sickcodes
5469cb8a58
Add WIDTH and HEIGHT environment variables
4 years ago
sickcodes
55f3fd00b1
Add ADDITIONAL_PORTS, -e ADDITIONAL_PORTS='hostfwd=tcp::23-:23,'
4 years ago
sickcodes
5d648e1b59
Switch default internet to vmxnet3 as there is no incompatability with services.
4 years ago
sickcodes
275b27ef8f
Documentation for Big Sur. v4.0
4 years ago
sickcodes
d2ee959d27
Add bigsur BaseSystem.img support. Use `--build-arg VERSION=11` or higher. Downloads latest version currently.
4 years ago
sickcodes
a9e8821a06
Update helm chart to include link back to OG project. Dissolve testing branch references in favor of master.
4 years ago
sickcodes
91131a6bbb
Add exists exits and required serial number files for building disk
4 years ago
sickcodes
258f6b455d
Fix /env permissions for persistence after GENERATE_UNIQUE. Fix the following warning by chowning /dev/kvm earlier "libguestfs: warning: current user is not a member of the KVM group (group ID 108). This user cannot access /dev/kvm, so libguestfs may run very slowly. It is recommended that you 'chmod 0666 /dev/kvm' or add the current user to the KVM group (you might need to log out and log in again)."
4 years ago
sickcodes
d1721028c8
NOPICKER now does: `sed -i '/^.*InstallMedia.*/d' Launch.sh`
4 years ago
sickcodes
84326051ca
source "${ENV:=/env}" logic
4 years ago
sickcodes
f2a49b046b
Fixed subshell logic in startup scripts.
4 years ago
sickcodes
a651aa0369
Change `-e NOPICKER=true` to simply do `export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2`.
4 years ago
sickcodes
c5aab3020d
Set defaults in obvious places
4 years ago
sickcodes
284fe9fbde
Early chown required for all volumes...
4 years ago
sickcodes
316a8abfa0
Set temporary branch
4 years ago
sickcodes
23ab20c2fa
Major serial number runtime generation and override changes.
4 years ago
sickcodes
9e5538c195
Add Linux, libguestfs for building bootdisks within the Docker container. Add CPU_STRING to optionally override the whole CPU string. Unify variable names in ./custom.
4 years ago
sickcodes
372905218f
Add zip, fix global variables in the serial generator.
4 years ago
sickcodes
f608206926
Add NOPICKER=false in :latest. Add NOPICKER=true in :auto. Add networking speed docs.
4 years ago
sickcodes
6f40c4c4de
3.1. base-devel image to skip simple packages. Add glibc overrides after every pacman -Syu which is currently required for non-Arch builds.
4 years ago
sickcodes
fb73a31191
Self-host in the repo glibc to emphasize the temporariness of this patch.
4 years ago
sickcodes
4dcf20a362
Kubernetes helm chart submission! Thanks @cephasara
4 years ago