You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-03 11:13:32 -05:00
Compare commits
25 Commits
rollback-n
...
persistent
Author | SHA1 | Date | |
---|---|---|---|
235917cf84 | |||
92d61de642 | |||
b3e8aabaa9 | |||
3188252da4 | |||
727a1dc95c | |||
3621847c23 | |||
142dad2593 | |||
b0ac21a94a | |||
b726cd179d | |||
1380481ac1 | |||
d435c06455 | |||
918f209175 | |||
c9521ca6b7 | |||
89d4aa6c5b | |||
0beee71158 | |||
4dd0596489 | |||
7947f5a3b6 | |||
461ae7f960 | |||
71df96d112 | |||
f3c2c332aa | |||
5427cbbc5b | |||
f21c7589eb | |||
e8a81fb8d9 | |||
5afb277302 | |||
029cd7a46d |
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
|||||||
[submodule "osx-serial-generator"]
|
[submodule "osx-serial-generator"]
|
||||||
path = osx-serial-generator
|
path = osx-serial-generator
|
||||||
url = https://github.com/sickcodes/osx-serial-generator.git
|
url = https://github.com/sickcodes/osx-serial-generator.git
|
||||||
|
[submodule "OSX-KVM"]
|
||||||
|
path = OSX-KVM
|
||||||
|
url = https://github.com/kholia/OSX-KVM
|
||||||
|
@ -113,3 +113,11 @@ This project now uses the fantastic OpenCore bootloader from the community OpenC
|
|||||||
[@martinmullins](https://github.com/martinmullins) Notes for mounting an NFS folder from a linux host #392
|
[@martinmullins](https://github.com/martinmullins) Notes for mounting an NFS folder from a linux host #392
|
||||||
|
|
||||||
[@kimjammer](https://github.com/kimjammer) Readme - Added instructions for using WSLg's built in X11 server #395
|
[@kimjammer](https://github.com/kimjammer) Readme - Added instructions for using WSLg's built in X11 server #395
|
||||||
|
|
||||||
|
[@jk2K](https://github.com/jk2K) fix: support dynamic change of Base image #408
|
||||||
|
|
||||||
|
[@MikeCoder96](https://github.com/MikeCoder96) Update README.md with WSL how to #412
|
||||||
|
|
||||||
|
[@aslafy-z](https://github.com/aslafy-z) chore(docs): update helm requirements list style #420
|
||||||
|
|
||||||
|
@Mhartig - Worked out issue `Enter a number (default=1): error: invalid number: y`
|
43
Dockerfile
43
Dockerfile
@ -114,14 +114,16 @@ RUN tee -a sshd_config <<< 'AllowTcpForwarding yes' \
|
|||||||
USER arch
|
USER arch
|
||||||
|
|
||||||
# download OSX-KVM
|
# download OSX-KVM
|
||||||
# RUN git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git /home/arch/OSX-KVM
|
# RUN git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git /home/arch/Docker-OSX/OSX-KVM
|
||||||
RUN git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git /home/arch/OSX-KVM
|
RUN git clone --recurse-submodules --depth 1 https://github.com/sickcodes/Docker-OSX.git /home/arch/Docker-OSX
|
||||||
|
|
||||||
|
# Create a symbolic link from OSX-KVM to submodule directory as we are using as a submodule instead now (redunancy proof)
|
||||||
|
RUN ln -s /home/arch/Docker-OSX/OSX-KVM /home/arch/OSX-KVM
|
||||||
|
|
||||||
# enable ssh
|
# enable ssh
|
||||||
# docker exec .... ./enable-ssh.sh
|
# docker exec .... ./enable-ssh.sh
|
||||||
USER arch
|
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/Docker-OSX
|
||||||
|
|
||||||
RUN touch enable-ssh.sh \
|
RUN touch enable-ssh.sh \
|
||||||
&& chmod +x ./enable-ssh.sh \
|
&& chmod +x ./enable-ssh.sh \
|
||||||
@ -140,10 +142,10 @@ RUN touch enable-ssh.sh \
|
|||||||
|
|
||||||
# RUN yes | sudo pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils edk2-ovmf netctl libvirt-dbus --overwrite --noconfirm
|
# RUN yes | sudo pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils edk2-ovmf netctl libvirt-dbus --overwrite --noconfirm
|
||||||
|
|
||||||
RUN yes | sudo pacman -Syu bc qemu libvirt dnsmasq virt-manager bridge-utils openresolv jack ebtables edk2-ovmf netctl libvirt-dbus wget --overwrite --noconfirm \
|
RUN yes | sudo pacman -Syu bc qemu libvirt dnsmasq virt-manager bridge-utils openresolv jack2 ebtables edk2-ovmf netctl libvirt-dbus wget --overwrite --noconfirm \
|
||||||
&& yes | sudo pacman -Scc
|
&& yes | sudo pacman -Scc
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/Docker-OSX/OSX-KVM
|
||||||
|
|
||||||
# RUN wget https://raw.githubusercontent.com/kholia/OSX-KVM/master/fetch-macOS-v2.py
|
# RUN wget https://raw.githubusercontent.com/kholia/OSX-KVM/master/fetch-macOS-v2.py
|
||||||
|
|
||||||
@ -181,16 +183,16 @@ RUN touch Launch.sh \
|
|||||||
&& tee -a Launch.sh <<< '-smp ${CPU_STRING:-${SMP:-4},cores=${CORES:-4}} \' \
|
&& tee -a Launch.sh <<< '-smp ${CPU_STRING:-${SMP:-4},cores=${CORES:-4}} \' \
|
||||||
&& tee -a Launch.sh <<< '-usb -device usb-kbd -device usb-tablet \' \
|
&& tee -a Launch.sh <<< '-usb -device usb-kbd -device usb-tablet \' \
|
||||||
&& tee -a Launch.sh <<< '-device isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal\(c\)AppleComputerInc \' \
|
&& tee -a Launch.sh <<< '-device isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal\(c\)AppleComputerInc \' \
|
||||||
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,readonly=on,file=/home/arch/OSX-KVM/OVMF_CODE.fd \' \
|
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,readonly=on,file=/home/arch/Docker-OSX/OSX-KVM/OVMF_CODE.fd \' \
|
||||||
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,file=/home/arch/OSX-KVM/OVMF_VARS-1024x768.fd \' \
|
&& tee -a Launch.sh <<< '-drive if=pflash,format=raw,file=/home/arch/Docker-OSX/OSX-KVM/OVMF_VARS-1024x768.fd \' \
|
||||||
&& tee -a Launch.sh <<< '-smbios type=2 \' \
|
&& tee -a Launch.sh <<< '-smbios type=2 \' \
|
||||||
&& tee -a Launch.sh <<< '-audiodev ${AUDIO_DRIVER:-alsa},id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda \' \
|
&& tee -a Launch.sh <<< '-audiodev ${AUDIO_DRIVER:-alsa},id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda \' \
|
||||||
&& tee -a Launch.sh <<< '-device ich9-ahci,id=sata \' \
|
&& tee -a Launch.sh <<< '-device ich9-ahci,id=sata \' \
|
||||||
&& tee -a Launch.sh <<< '-drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=${BOOTDISK:-/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2} \' \
|
&& tee -a Launch.sh <<< '-drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=${BOOTDISK:-/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2} \' \
|
||||||
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.2,drive=OpenCoreBoot \' \
|
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.2,drive=OpenCoreBoot \' \
|
||||||
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.3,drive=InstallMedia \' \
|
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.3,drive=InstallMedia \' \
|
||||||
&& tee -a Launch.sh <<< '-drive id=InstallMedia,if=none,file=/home/arch/OSX-KVM/BaseSystem.img,format=${BASESYSTEM_FORMAT:-qcow2} \' \
|
&& tee -a Launch.sh <<< '-drive id=InstallMedia,if=none,file=/home/arch/Docker-OSX/OSX-KVM/BaseSystem.img,format=${BASESYSTEM_FORMAT:-qcow2} \' \
|
||||||
&& tee -a Launch.sh <<< '-drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \' \
|
&& tee -a Launch.sh <<< '-drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \' \
|
||||||
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.4,drive=MacHDD \' \
|
&& tee -a Launch.sh <<< '-device ide-hd,bus=sata.4,drive=MacHDD \' \
|
||||||
&& tee -a Launch.sh <<< '-netdev user,id=net0,hostfwd=tcp::${INTERNAL_SSH_PORT:-10022}-:22,hostfwd=tcp::${SCREEN_SHARE_PORT:-5900}-:5900,${ADDITIONAL_PORTS} \' \
|
&& tee -a Launch.sh <<< '-netdev user,id=net0,hostfwd=tcp::${INTERNAL_SSH_PORT:-10022}-:22,hostfwd=tcp::${SCREEN_SHARE_PORT:-5900}-:5900,${ADDITIONAL_PORTS} \' \
|
||||||
&& tee -a Launch.sh <<< '-device ${NETWORKING:-vmxnet3},netdev=net0,id=net0,mac=${MAC_ADDRESS:-52:54:00:09:49:17} \' \
|
&& tee -a Launch.sh <<< '-device ${NETWORKING:-vmxnet3},netdev=net0,id=net0,mac=${MAC_ADDRESS:-52:54:00:09:49:17} \' \
|
||||||
@ -257,8 +259,8 @@ ARG STOCK_WIDTH=1920
|
|||||||
ARG STOCK_HEIGHT=1080
|
ARG STOCK_HEIGHT=1080
|
||||||
ARG STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
|
ARG STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
|
||||||
ARG STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist
|
ARG STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist
|
||||||
ARG STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2
|
ARG STOCK_BOOTDISK=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2
|
||||||
ARG STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2
|
ARG STOCK_BOOTDISK_NOPICKER=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2
|
||||||
|
|
||||||
RUN ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh \
|
RUN ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh \
|
||||||
--master-plist-url="${STOCK_MASTER_PLIST_URL}" \
|
--master-plist-url="${STOCK_MASTER_PLIST_URL}" \
|
||||||
@ -285,7 +287,7 @@ RUN ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh \
|
|||||||
; rm -rf /var/tmp/.guestfs-*
|
; rm -rf /var/tmp/.guestfs-*
|
||||||
|
|
||||||
### symlink the old directory as upstream has renamed a directory. Symlinking purely for backwards compatability!
|
### symlink the old directory as upstream has renamed a directory. Symlinking purely for backwards compatability!
|
||||||
RUN ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true
|
RUN ln -s /home/arch/Docker-OSX/OSX-KVM/OpenCore /home/arch/Docker-OSX/OSX-KVM/OpenCore-Catalina || true
|
||||||
####
|
####
|
||||||
|
|
||||||
#### SPECIAL RUNTIME ARGUMENTS BELOW
|
#### SPECIAL RUNTIME ARGUMENTS BELOW
|
||||||
@ -318,7 +320,7 @@ ENV GENERATE_UNIQUE=false
|
|||||||
# Boolean for generating a bootdisk with specific serials.
|
# Boolean for generating a bootdisk with specific serials.
|
||||||
ENV GENERATE_SPECIFIC=false
|
ENV GENERATE_SPECIFIC=false
|
||||||
|
|
||||||
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
|
ENV IMAGE_PATH=/home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img
|
||||||
ENV IMAGE_FORMAT=qcow2
|
ENV IMAGE_FORMAT=qcow2
|
||||||
|
|
||||||
ENV KVM='accel=kvm:tcg'
|
ENV KVM='accel=kvm:tcg'
|
||||||
@ -366,9 +368,12 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
||||||
; [[ "${NOPICKER}" == true ]] && { \
|
; [[ "${NOPICKER}" == true ]] && { \
|
||||||
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
||||||
&& export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
&& export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
||||||
; } \
|
; } \
|
||||||
|| export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
; [[ "$(fdisk -l /image)" ]] && { \
|
||||||
|
&& export IMAGE_PATH=/image \
|
||||||
|
; } \
|
||||||
|
|| export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
||||||
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
||||||
--master-plist-url="${MASTER_PLIST_URL}" \
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
||||||
@ -377,7 +382,7 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
--bootdisks \
|
--bootdisks \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
--output-env "${ENV:=/env}" \
|
--output-env "${ENV:=/env}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
||||||
@ -391,7 +396,7 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
--mac-address "${MAC_ADDRESS}" \
|
--mac-address "${MAC_ADDRESS}" \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; ./enable-ssh.sh && /bin/bash -c ./Launch.sh
|
; ./enable-ssh.sh && /bin/bash -c ./Launch.sh
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ RUN sudo pacman -Syy \
|
|||||||
####
|
####
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/Docker-OSX/OSX-KVM
|
||||||
|
|
||||||
RUN mkdir -p ~/.ssh \
|
RUN mkdir -p ~/.ssh \
|
||||||
&& touch ~/.ssh/authorized_keys \
|
&& touch ~/.ssh/authorized_keys \
|
||||||
@ -145,15 +145,15 @@ ARG IMAGE_URL='https://images.sick.codes/mac_hdd_ng_auto.img'
|
|||||||
|
|
||||||
RUN if [[ "${COMPLETE}" ]]; then \
|
RUN if [[ "${COMPLETE}" ]]; then \
|
||||||
echo "Downloading 20GB image... This step might take a while... Press Ctrl+C if you want to abort." \
|
echo "Downloading 20GB image... This step might take a while... Press Ctrl+C if you want to abort." \
|
||||||
; rm -f /home/arch/OSX-KVM/mac_hdd_ng.img \
|
; rm -f /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img \
|
||||||
&& wget ${WGET_OPTIONS} -O /home/arch/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
|
&& wget ${WGET_OPTIONS} -O /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
|
||||||
; fi
|
; fi
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
# symlink the old directory, for redundancy
|
# symlink the old directory, for redundancy
|
||||||
RUN ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true
|
RUN ln -s /home/arch/Docker-OSX/OSX-KVM/OpenCore /home/arch/Docker-OSX/OSX-KVM/OpenCore-Catalina || true
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ ENV GENERATE_UNIQUE=false
|
|||||||
# Boolean for generating a bootdisk with specific serials.
|
# Boolean for generating a bootdisk with specific serials.
|
||||||
ENV GENERATE_SPECIFIC=false
|
ENV GENERATE_SPECIFIC=false
|
||||||
|
|
||||||
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
|
ENV IMAGE_PATH=/home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img
|
||||||
ENV IMAGE_FORMAT=qcow2
|
ENV IMAGE_FORMAT=qcow2
|
||||||
|
|
||||||
ENV KVM='accel=kvm:tcg'
|
ENV KVM='accel=kvm:tcg'
|
||||||
@ -222,9 +222,9 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
||||||
; [[ "${NOPICKER}" == true ]] && { \
|
; [[ "${NOPICKER}" == true ]] && { \
|
||||||
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
||||||
&& export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
&& export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
||||||
; } \
|
; } \
|
||||||
|| export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
|| export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
||||||
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
||||||
--master-plist-url="${MASTER_PLIST_URL}" \
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
||||||
@ -233,7 +233,7 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
--bootdisks \
|
--bootdisks \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
--output-env "${ENV:=/env}" \
|
--output-env "${ENV:=/env}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
||||||
@ -247,7 +247,7 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
--mac-address "${MAC_ADDRESS}" \
|
--mac-address "${MAC_ADDRESS}" \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; { [[ "${DISPLAY}" = ':99' ]] || [[ "${HEADLESS}" == true ]] ; } && { \
|
; { [[ "${DISPLAY}" = ':99' ]] || [[ "${HEADLESS}" == true ]] ; } && { \
|
||||||
nohup Xvfb :99 -screen 0 1920x1080x16 \
|
nohup Xvfb :99 -screen 0 1920x1080x16 \
|
||||||
|
@ -38,7 +38,7 @@ USER root
|
|||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
RUN rm -f /home/arch/OSX-KVM/mac_hdd_ng.img
|
RUN rm -f /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img
|
||||||
|
|
||||||
# OPTIONAL: Arch Linux server mirrors for super fast builds
|
# OPTIONAL: Arch Linux server mirrors for super fast builds
|
||||||
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true
|
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true
|
||||||
@ -103,7 +103,7 @@ RUN sudo pacman -Syy \
|
|||||||
####
|
####
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/Docker-OSX/OSX-KVM
|
||||||
|
|
||||||
RUN mkdir -p ~/.ssh \
|
RUN mkdir -p ~/.ssh \
|
||||||
&& touch ~/.ssh/authorized_keys \
|
&& touch ~/.ssh/authorized_keys \
|
||||||
@ -118,7 +118,7 @@ RUN mkdir -p ~/.ssh \
|
|||||||
####
|
####
|
||||||
|
|
||||||
# symlink the old directory, for redundancy
|
# symlink the old directory, for redundancy
|
||||||
RUN ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true
|
RUN ln -s /home/arch/Docker-OSX/OSX-KVM/OpenCore /home/arch/Docker-OSX/OSX-KVM/OpenCore-Catalina || true
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
@ -180,9 +180,9 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
; } \
|
; } \
|
||||||
; [[ "${NOPICKER}" == true ]] && { \
|
; [[ "${NOPICKER}" == true ]] && { \
|
||||||
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
||||||
&& export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
&& export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
||||||
; } \
|
; } \
|
||||||
|| export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
|| export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
||||||
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
||||||
--master-plist-url="${MASTER_PLIST_URL}" \
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
||||||
@ -191,7 +191,7 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
--bootdisks \
|
--bootdisks \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
--output-env "${ENV:=/env}" \
|
--output-env "${ENV:=/env}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
||||||
@ -205,6 +205,6 @@ CMD sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/n
|
|||||||
--mac-address "${MAC_ADDRESS}" \
|
--mac-address "${MAC_ADDRESS}" \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; ./enable-ssh.sh && /bin/bash -c ./Launch.sh
|
; ./enable-ssh.sh && /bin/bash -c ./Launch.sh
|
||||||
|
@ -24,7 +24,7 @@ USER root
|
|||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
RUN rm -f /home/arch/OSX-KVM/mac_hdd_ng.img
|
RUN rm -f /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img
|
||||||
|
|
||||||
# For taking screenshots of the Xfvb screen, useful during development.
|
# For taking screenshots of the Xfvb screen, useful during development.
|
||||||
ARG SCROT
|
ARG SCROT
|
||||||
@ -100,7 +100,7 @@ RUN sudo pacman -Syy \
|
|||||||
####
|
####
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /home/arch/OSX-KVM
|
WORKDIR /home/arch/Docker-OSX/OSX-KVM
|
||||||
|
|
||||||
RUN mkdir -p ~/.ssh \
|
RUN mkdir -p ~/.ssh \
|
||||||
&& touch ~/.ssh/authorized_keys \
|
&& touch ~/.ssh/authorized_keys \
|
||||||
@ -125,14 +125,14 @@ ARG IMAGE_URL=
|
|||||||
|
|
||||||
RUN if [[ "${COMPLETE}" ]]; then \
|
RUN if [[ "${COMPLETE}" ]]; then \
|
||||||
echo "Downloading your image... This step might take a while... Press Ctrl+C if you want to abort." \
|
echo "Downloading your image... This step might take a while... Press Ctrl+C if you want to abort." \
|
||||||
; rm -f /home/arch/OSX-KVM/mac_hdd_ng.img \
|
; rm -f /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img \
|
||||||
&& wget ${WGET_OPTIONS} -O /home/arch/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
|
&& wget ${WGET_OPTIONS} -O /home/arch/Docker-OSX/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
|
||||||
; fi
|
; fi
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
# symlink the old directory, for redundancy
|
# symlink the old directory, for redundancy
|
||||||
RUN ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true
|
RUN ln -s /home/arch/Docker-OSX/OSX-KVM/OpenCore /home/arch/Docker-OSX/OSX-KVM/OpenCore-Catalina || true
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
@ -201,9 +201,9 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2>/dev/null || true \
|
||||||
; [[ "${NOPICKER}" == true ]] && { \
|
; [[ "${NOPICKER}" == true ]] && { \
|
||||||
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
sed -i '/^.*InstallMedia.*/d' Launch.sh \
|
||||||
&& export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
&& export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}" \
|
||||||
; } \
|
; } \
|
||||||
|| export BOOTDISK="${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
|| export BOOTDISK="${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
|
||||||
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh \
|
||||||
--master-plist-url="${MASTER_PLIST_URL}" \
|
--master-plist-url="${MASTER_PLIST_URL}" \
|
||||||
@ -212,7 +212,7 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
--bootdisks \
|
--bootdisks \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
--output-env "${ENV:=/env}" \
|
--output-env "${ENV:=/env}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
|
||||||
@ -226,7 +226,7 @@ CMD echo "${BOILERPLATE}" \
|
|||||||
--mac-address "${MAC_ADDRESS}" \
|
--mac-address "${MAC_ADDRESS}" \
|
||||||
--width "${WIDTH:-1920}" \
|
--width "${WIDTH:-1920}" \
|
||||||
--height "${HEIGHT:-1080}" \
|
--height "${HEIGHT:-1080}" \
|
||||||
--output-bootdisk "${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
--output-bootdisk "${BOOTDISK:=/home/arch/Docker-OSX/OSX-KVM/OpenCore/OpenCore.qcow2}" \
|
||||||
|| exit 1 ; } \
|
|| exit 1 ; } \
|
||||||
; { [[ "${DISPLAY}" = ':99' ]] || [[ "${HEADLESS}" == true ]] ; } && { \
|
; { [[ "${DISPLAY}" = ':99' ]] || [[ "${HEADLESS}" == true ]] ; } && { \
|
||||||
nohup Xvfb :99 -screen 0 1920x1080x16 \
|
nohup Xvfb :99 -screen 0 1920x1080x16 \
|
||||||
|
1
OSX-KVM
Submodule
1
OSX-KVM
Submodule
Submodule OSX-KVM added at 307cdd7c98
121
README.md
121
README.md
@ -57,31 +57,40 @@ First time here? try [initial setup](#initial-setup), otherwise try the instruct
|
|||||||
### Catalina [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Catalina [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
qemu-img create -f qcow2 image.img 512G
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
-p 50922:10022 \
|
-p 50922:10022 \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-v "${PWD}/image.img:/image" \
|
||||||
sickcodes/docker-osx:latest
|
sickcodes/docker-osx:latest
|
||||||
|
|
||||||
# docker build -t docker-osx .
|
# docker build -t docker-osx .
|
||||||
|
# if you want to keep everything inside the container, remove "${PWD}/image.img:/image" which will tell the Dockerfile to use the image at /image
|
||||||
```
|
```
|
||||||
### Big Sur [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Big Sur [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
qemu-img create -f qcow2 image.img 512G
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
-p 50922:10022 \
|
-p 50922:10022 \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-v "${PWD}/image.img:/image" \
|
||||||
sickcodes/docker-osx:big-sur
|
sickcodes/docker-osx:big-sur
|
||||||
|
|
||||||
# docker build -t docker-osx --build-arg SHORTNAME=big-sur .
|
# docker build -t docker-osx --build-arg SHORTNAME=big-sur .
|
||||||
|
# if you want to keep everything inside the container, remove "${PWD}/image.img:/image" which will tell the Dockerfile to use the image at /image
|
||||||
```
|
```
|
||||||
|
|
||||||
### Monterey [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Monterey [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
qemu-img create -f qcow2 image.img 512G
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
@ -90,6 +99,7 @@ docker run -it \
|
|||||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
-e GENERATE_UNIQUE=true \
|
-e GENERATE_UNIQUE=true \
|
||||||
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
|
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
|
||||||
|
-v "${PWD}/image.img:/image" \
|
||||||
sickcodes/docker-osx:monterey
|
sickcodes/docker-osx:monterey
|
||||||
|
|
||||||
# docker build -t docker-osx --build-arg SHORTNAME=monterey .
|
# docker build -t docker-osx --build-arg SHORTNAME=monterey .
|
||||||
@ -119,12 +129,14 @@ docker run -it \
|
|||||||
### High Sierra [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### High Sierra [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
qemu-img create -f qcow2 image.img 512G
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
-p 50922:10022 \
|
-p 50922:10022 \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-v "${PWD}/image.img:/image" \
|
||||||
sickcodes/docker-osx:high-sierra
|
sickcodes/docker-osx:high-sierra
|
||||||
|
|
||||||
# docker build -t docker-osx --build-arg SHORTNAME=high-sierra .
|
# docker build -t docker-osx --build-arg SHORTNAME=high-sierra .
|
||||||
@ -133,12 +145,14 @@ docker run -it \
|
|||||||
### Mojave [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
### Mojave [](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
qemu-img create -f qcow2 image.img 512G
|
||||||
|
|
||||||
docker run -it \
|
docker run -it \
|
||||||
--device /dev/kvm \
|
--device /dev/kvm \
|
||||||
-p 50922:10022 \
|
-p 50922:10022 \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-v "${PWD}/image.img:/image" \
|
||||||
sickcodes/docker-osx:mojave
|
sickcodes/docker-osx:mojave
|
||||||
|
|
||||||
# docker build -t docker-osx --build-arg SHORTNAME=mojave .
|
# docker build -t docker-osx --build-arg SHORTNAME=mojave .
|
||||||
@ -201,6 +215,13 @@ If you have a desktop PC, you can use [@Silfalion](https://github.com/Silfalion)
|
|||||||
|
|
||||||
# (USBFLUXD) iPhone USB -> Network style passthrough OSX-KVM Docker-OSX
|
# (USBFLUXD) iPhone USB -> Network style passthrough OSX-KVM Docker-OSX
|
||||||
|
|
||||||
|
Video setup tutorial for usbfluxd is also available here: https://www.youtube.com/watch?v=kTk5fGjK_PM
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://www.youtube.com/watch?v=kTk5fGjK_PM" target="_blank"><img alt="iPhone USB passthrough on macOS virtual machine Linux & Windows" src="https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/Youtube-USBFLUXD-Screenshot-Docker-OSX.png"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
This method WORKS on laptop, PC, anything!
|
This method WORKS on laptop, PC, anything!
|
||||||
|
|
||||||
Thank you [@nikias](https://github.com/nikias) for [usbfluxd](https://github.com/corellium/usbfluxd) via [https://github.com/corellium](https://github.com/corellium)!
|
Thank you [@nikias](https://github.com/nikias) for [usbfluxd](https://github.com/corellium/usbfluxd) via [https://github.com/corellium](https://github.com/corellium)!
|
||||||
@ -262,6 +283,8 @@ sudo make install
|
|||||||
|
|
||||||
Accept the USB over TCP connection, and appear as local:
|
Accept the USB over TCP connection, and appear as local:
|
||||||
|
|
||||||
|
(you may need to change `172.17.0.1` to the IP address of the host. e.g. check `ip addr`)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# on the guest
|
# on the guest
|
||||||
sudo launchctl start usbmuxd
|
sudo launchctl start usbmuxd
|
||||||
@ -287,6 +310,41 @@ SEE commands in [https://github.com/sickcodes/osx-optimizer](https://github.com/
|
|||||||
- Disable heavy login screen wallpaper
|
- Disable heavy login screen wallpaper
|
||||||
- Disable updates (at your own risk!)
|
- Disable updates (at your own risk!)
|
||||||
|
|
||||||
|
## Increase disk space by moving /var/lib/docker to external drive, block storage, NFS, or any other location conceivable.
|
||||||
|
|
||||||
|
Move /var/lib/docker, following the tutorial below
|
||||||
|
|
||||||
|
- Cheap large physical disk storage instead using your server's disk, or SSD.
|
||||||
|
- Block Storage, NFS, etc.
|
||||||
|
|
||||||
|
Tutorial here: https://sick.codes/how-to-run-docker-from-block-storage/
|
||||||
|
|
||||||
|
Only follow the above tutorial if you are happy with wiping all your current Docker images/layers.
|
||||||
|
|
||||||
|
Safe mode: Disable docker temporarily so you can move the Docker folder temporarily.
|
||||||
|
|
||||||
|
- Do NOT do this until you have moved your image out already [https://github.com/dulatello08/Docker-OSX/#quick-start-your-own-image-naked-container-image](https://github.com/dulatello08/Docker-OSX/#quick-start-your-own-image-naked-container-image)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
killall dockerd
|
||||||
|
systemctl disable --now docker
|
||||||
|
systemctl disable --now docker.socket
|
||||||
|
systemctl stop docker
|
||||||
|
systemctl stop docker.socket
|
||||||
|
```
|
||||||
|
Now, that Docker daemon is off, move /var/lib/docker somewhere
|
||||||
|
|
||||||
|
Then, symbolicly link /var/lib/docker somewhere:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mv /var/lib/docker /run/media/user/some_drive/docker
|
||||||
|
ln -s /run/media/user/some_drive/docker /var/lib/docker
|
||||||
|
|
||||||
|
# now check if /var/lib/docker is working still
|
||||||
|
ls /var/lib/docker
|
||||||
|
```
|
||||||
|
If you see folders, then it worked. You can restart Docker, or just reboot if you want to be sure.
|
||||||
|
|
||||||
## Important notices:
|
## Important notices:
|
||||||
|
|
||||||
**2021-11-14** - Added High Sierra, Mojave
|
**2021-11-14** - Added High Sierra, Mojave
|
||||||
@ -479,27 +537,59 @@ sudo modprobe kvm
|
|||||||
|
|
||||||
### I'd like to run Docker-OSX on Windows
|
### I'd like to run Docker-OSX on Windows
|
||||||
|
|
||||||
Running Docker-OSX on Windows is now possible using WSL2 (Windows + Ubuntu Subsystem!).
|
Running Docker-OSX on Windows is possible using WSL2 (Windows 11 + Windows Subsystem for Linux).
|
||||||
|
|
||||||
Ensure KVM is enabled (Windows 11 is required) and `x11-apps` is installed.
|
You must have Windows 11 installed with build 22000+ (21H2 or higher).
|
||||||
|
|
||||||
First, setup [Docker for Windows following the official Docker guide](https://docs.docker.com/desktop/windows/wsl/#download).
|
First, install WSL on your computer by running this command in an administrator powershell. For more info, look [here](https://docs.microsoft.com/en-us/windows/wsl/install).
|
||||||
|
|
||||||
You need the official Docker Desktop exe: [https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe](https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe).
|
This will install Ubuntu by default.
|
||||||
|
```
|
||||||
|
wsl --install
|
||||||
|
```
|
||||||
|
|
||||||
#### Using WSLg (WSL GUI which includes Wayland or X applications to run)
|
You can confirm WSL2 is enabled using `wsl -l -v` in PowerShell. To see other distributions that are available, use `wsl -l -o`.
|
||||||
|
|
||||||
[https://github.com/microsoft/wslg](https://github.com/microsoft/wslg)
|
If you have previously installed WSL1, upgrade to WSL 2. Check [this link to upgrade from WSL1 to WSL2](https://docs.microsoft.com/en-us/windows/wsl/install#upgrade-version-from-wsl-1-to-wsl-2).
|
||||||
|
|
||||||
To use WSLg's built in X11 server, change these two lines to point Docker-OSX to it.
|
After WSL installation, go to `C:/Users/<Your_Name>/.wslconfig` and add `nestedVirtualization=true` to the end of the file (If the file doesn't exist, create it). You may need to select "Show Hidden Files" and "Show File Extensions" in File Explorer options.
|
||||||
|
The result should be like this:
|
||||||
|
```
|
||||||
|
[wsl2]
|
||||||
|
nestedVirtualization=true
|
||||||
|
```
|
||||||
|
|
||||||
|
Go into your WSL distro (Run `wsl` in powershell) and check if KVM is enabled by using the `kvm-ok` command. The output should look like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
INFO: /dev/kvm exists
|
||||||
|
KVM acceleration can be used
|
||||||
|
```
|
||||||
|
|
||||||
|
Now download and install [Docker for Windows](https://docs.docker.com/desktop/windows/install/) if it is not already installed.
|
||||||
|
|
||||||
|
After installation, go into Settings and check these 2 boxes:
|
||||||
|
|
||||||
|
```
|
||||||
|
General -> "Use the WSL2 based engine";
|
||||||
|
Resources -> WSL Integration -> "Enable integration with my default WSL distro",
|
||||||
|
```
|
||||||
|
|
||||||
|
Ensure `x11-apps` is installed. Use the command `sudo apt install x11-apps -y` to install it if it isn't.
|
||||||
|
|
||||||
|
Finally, there are 3 ways to get video output:
|
||||||
|
|
||||||
|
- WSLg: This is the simplest and easiest option to use. There may be some issues such as the keyboard not being fully passed through or seeing a second mouse on the desktop - [Issue on WSLg](https://github.com/microsoft/wslg/issues/376) - but this option is recommended.
|
||||||
|
|
||||||
|
To use WSLg's built-in X-11 server, change these two lines in the docker run command to point Docker-OSX to WSLg.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
-e "DISPLAY=${DISPLAY:-:0}" \
|
-e "DISPLAY=${DISPLAY:-:0}" \
|
||||||
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
||||||
```
|
```
|
||||||
|
|
||||||
See more in-depth discussion about Docker-OSX on Windows [here](https://github.com/sickcodes/Docker-OSX/issues/17) and [here](https://github.com/sickcodes/Docker-OSX/issues/60).
|
- VNC: See the [VNC section](#building-a-headless-container-which-allows-insecure-vnc-on-localhost-for-local-use-only) for more information. You could also add -vnc argument to qemu. Connect to your mac VM via a VNC Client. [Here is a how to](https://wiki.archlinux.org/title/QEMU#VNC)
|
||||||
|
- Desktop Environment: This will give you a full desktop linux experiencem but it will use a bit more of the computer's resources. Here is an example guide, but there are other guides that help set up a desktop environment. [DE Example](https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/)
|
||||||
|
|
||||||
## Additional boot instructions for when you are [creating your container](#container-creation-examples)
|
## Additional boot instructions for when you are [creating your container](#container-creation-examples)
|
||||||
|
|
||||||
@ -731,6 +821,17 @@ docker run \
|
|||||||
sickcodes/docker-osx pactl list
|
sickcodes/docker-osx pactl list
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### PulseAudio with WSLg
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run \
|
||||||
|
--device /dev/kvm \
|
||||||
|
-e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket \
|
||||||
|
-v /mnt/wslg/runtime-dir/pulse/native:/tmp/pulseaudio.socket \
|
||||||
|
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
||||||
|
sickcodes/docker-osx
|
||||||
|
```
|
||||||
|
|
||||||
### Forward additional ports (nginx hosting example)
|
### Forward additional ports (nginx hosting example)
|
||||||
|
|
||||||
It's possible to forward additional ports depending on your needs. In this example, we'll use Mac OSX to host nginx:
|
It's possible to forward additional ports depending on your needs. In this example, we'll use Mac OSX to host nginx:
|
||||||
@ -872,7 +973,7 @@ Start the Docker-OSX container with the additional flag `--network host`
|
|||||||
Create and mount the nfs folder from the mac terminal:
|
Create and mount the nfs folder from the mac terminal:
|
||||||
```
|
```
|
||||||
mkdir -p ~/mnt
|
mkdir -p ~/mnt
|
||||||
sudo mount -t nfs 10.0.2.2:/srv/nfs/share ~/mnt
|
sudo mount_nfs -o locallocks 10.0.2.2:/srv/nfs/share ~/mnt
|
||||||
```
|
```
|
||||||
|
|
||||||
### Share USB Drive into macOS over QEMU
|
### Share USB Drive into macOS over QEMU
|
||||||
|
BIN
Youtube-USBFLUXD-Screenshot-Docker-OSX.png
Normal file
BIN
Youtube-USBFLUXD-Screenshot-Docker-OSX.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 KiB |
1401
custom/config-custom.plist
Normal file
1401
custom/config-custom.plist
Normal file
File diff suppressed because it is too large
Load Diff
883
custom/config-legacy.plist
Normal file
883
custom/config-legacy.plist
Normal file
@ -0,0 +1,883 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>ACPI</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>add DTGP method</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-DTGP.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Fake EC and USBX Power</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-EC.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>USB 2.0 Injection</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-EHCI.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>CPU AGPM Plugin=1</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-PLUG.aml</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Delete</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>All</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Delete CpuPm</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data>Q3B1UG0AAAA=</data>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data>U1NEVA==</data>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>All</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Delete Cpu0Ist</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data>Q3B1MElzdAA=</data>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data>U1NEVA==</data>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Patch</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>_Q11 to XQ11</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>X1ExMQ==</data>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>WFExMQ==</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>_Q12 to XQ12</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>X1ExMg==</data>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>WFExMg==</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>FadtEnableReset</key>
|
||||||
|
<false/>
|
||||||
|
<key>NormalizeHeaders</key>
|
||||||
|
<false/>
|
||||||
|
<key>RebaseRegions</key>
|
||||||
|
<false/>
|
||||||
|
<key>ResetHwSig</key>
|
||||||
|
<false/>
|
||||||
|
<key>ResetLogoStatus</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Booter</key>
|
||||||
|
<dict>
|
||||||
|
<key>MmioWhitelist</key>
|
||||||
|
<array/>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>AvoidRuntimeDefrag</key>
|
||||||
|
<true/>
|
||||||
|
<key>DevirtualiseMmio</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableSingleUser</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableVariableWrite</key>
|
||||||
|
<false/>
|
||||||
|
<key>DiscardHibernateMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>EnableSafeModeSlide</key>
|
||||||
|
<true/>
|
||||||
|
<key>EnableWriteUnprotector</key>
|
||||||
|
<true/>
|
||||||
|
<key>ForceExitBootServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectMemoryRegions</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectSecureBoot</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectUefiServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProvideCustomSlide</key>
|
||||||
|
<true/>
|
||||||
|
<key>ProvideMaxSlide</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>RebuildAppleMemoryMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>SetupVirtualMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>SignalAppleOS</key>
|
||||||
|
<false/>
|
||||||
|
<key>SyncRuntimePermissions</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>DeviceProperties</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<dict>
|
||||||
|
<key>PciRoot(0x1)/Pci(0x1F,0x0)</key>
|
||||||
|
<dict>
|
||||||
|
<key>compatible</key>
|
||||||
|
<string>pci8086,2916</string>
|
||||||
|
<key>device-id</key>
|
||||||
|
<data>
|
||||||
|
FikA
|
||||||
|
</data>
|
||||||
|
<key>name</key>
|
||||||
|
<string>pci8086,2916</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Delete</key>
|
||||||
|
<dict>
|
||||||
|
<key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
|
||||||
|
<array>
|
||||||
|
<string>MaximumBootBeepVolume</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Kernel</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>VoodooHDA.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/VoodooHDA</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>Lilu.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Patch engine</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/Lilu</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>VirtualSMC.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>SMC emulator</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/VirtualSMC</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>WhateverGreen.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Video patches</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/WhateverGreen</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>AGPMInjector.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>USBPorts.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>MCEReporterDisabler.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>AppleMCEReporter disabler</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>19.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Block</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>com.apple.driver.AppleTyMCEDriver</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Emulate</key>
|
||||||
|
<dict>
|
||||||
|
<key>Cpuid1Data</key>
|
||||||
|
<data>
|
||||||
|
VAYFAAAAAAAAAAAAAAAAAA==
|
||||||
|
</data>
|
||||||
|
<key>Cpuid1Mask</key>
|
||||||
|
<data>
|
||||||
|
////AAAAAAAAAAAAAAAAAA==
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Force</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>System/Library/Extensions/IONetworkingFamily.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Patch engine</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>com.apple.iokit.IONetworkingFamily</string>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/IONetworkingFamily</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>13.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Patch</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Base</key>
|
||||||
|
<string>_cpu_topology_sort</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>algrey - cpu_topology_sort -disable _x86_validate_topology</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>
|
||||||
|
6AAA//8=
|
||||||
|
</data>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>kernel</string>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data>
|
||||||
|
/wAA//8=
|
||||||
|
</data>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>20.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>17.0.0</string>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>
|
||||||
|
Dx9EAAA=
|
||||||
|
</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data>
|
||||||
|
</data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Base</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>
|
||||||
|
MduAPQAAAAAGdQA=
|
||||||
|
</data>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>kernel</string>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data>
|
||||||
|
/////wAAAP///wA=
|
||||||
|
</data>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>20.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>17.0.0</string>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>
|
||||||
|
u7xP6njpXQAAAJA=
|
||||||
|
</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data>
|
||||||
|
</data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleCpuPmCfgLock</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmCfgLock</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmExtraMsrs</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmForceBoost</key>
|
||||||
|
<false/>
|
||||||
|
<key>CustomSMBIOSGuid</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableIoMapper</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableLinkeditJettison</key>
|
||||||
|
<true/>
|
||||||
|
<key>DisableRtcChecksum</key>
|
||||||
|
<false/>
|
||||||
|
<key>DummyPowerManagement</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExternalDiskIcons</key>
|
||||||
|
<false/>
|
||||||
|
<key>IncreasePciBarSize</key>
|
||||||
|
<false/>
|
||||||
|
<key>LapicKernelPanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>PanicNoKextDump</key>
|
||||||
|
<false/>
|
||||||
|
<key>PowerTimeoutKernelPanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>ThirdPartyDrives</key>
|
||||||
|
<false/>
|
||||||
|
<key>XhciPortLimit</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Scheme</key>
|
||||||
|
<dict>
|
||||||
|
<key>FuzzyMatch</key>
|
||||||
|
<true/>
|
||||||
|
<key>KernelArch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>KernelCache</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Misc</key>
|
||||||
|
<dict>
|
||||||
|
<key>BlessOverride</key>
|
||||||
|
<array/>
|
||||||
|
<key>Boot</key>
|
||||||
|
<dict>
|
||||||
|
<key>ConsoleAttributes</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>HibernateMode</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
<key>HideAuxiliary</key>
|
||||||
|
<false/>
|
||||||
|
<key>PickerAttributes</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>PickerAudioAssist</key>
|
||||||
|
<false/>
|
||||||
|
<key>PickerMode</key>
|
||||||
|
<string>External</string>
|
||||||
|
<key>PollAppleHotKeys</key>
|
||||||
|
<true/>
|
||||||
|
<key>ShowPicker</key>
|
||||||
|
<true/>
|
||||||
|
<key>TakeoffDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Timeout</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Debug</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleDebug</key>
|
||||||
|
<false/>
|
||||||
|
<key>ApplePanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableWatchDog</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisplayDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>DisplayLevel</key>
|
||||||
|
<integer>2147483650</integer>
|
||||||
|
<key>SerialInit</key>
|
||||||
|
<false/>
|
||||||
|
<key>SysReport</key>
|
||||||
|
<false/>
|
||||||
|
<key>Target</key>
|
||||||
|
<integer>3</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Entries</key>
|
||||||
|
<array/>
|
||||||
|
<key>Security</key>
|
||||||
|
<dict>
|
||||||
|
<key>AllowNvramReset</key>
|
||||||
|
<true/>
|
||||||
|
<key>AllowSetDefault</key>
|
||||||
|
<false/>
|
||||||
|
<key>ApECID</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AuthRestart</key>
|
||||||
|
<false/>
|
||||||
|
<key>BootProtect</key>
|
||||||
|
<string>None</string>
|
||||||
|
<key>DmgLoading</key>
|
||||||
|
<string>Signed</string>
|
||||||
|
<key>EnablePassword</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExposeSensitiveData</key>
|
||||||
|
<integer>6</integer>
|
||||||
|
<key>HaltLevel</key>
|
||||||
|
<integer>2147483648</integer>
|
||||||
|
<key>PasswordHash</key>
|
||||||
|
<data></data>
|
||||||
|
<key>PasswordSalt</key>
|
||||||
|
<data></data>
|
||||||
|
<key>ScanPolicy</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>SecureBootModel</key>
|
||||||
|
<string>Disabled</string>
|
||||||
|
<key>Vault</key>
|
||||||
|
<string>Optional</string>
|
||||||
|
</dict>
|
||||||
|
<key>Tools</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arguments</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Auxiliary</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Not signed for security reasons</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Name</key>
|
||||||
|
<string>UEFI Shell</string>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>OpenShell.efi</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arguments</key>
|
||||||
|
<string>Shutdown</string>
|
||||||
|
<key>Auxiliary</key>
|
||||||
|
<true/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Perform shutdown</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Name</key>
|
||||||
|
<string>Shutdown</string>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>ResetSystem.efi</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>NVRAM</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<dict>
|
||||||
|
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
|
||||||
|
<dict>
|
||||||
|
<key>DefaultBackgroundColor</key>
|
||||||
|
<data>AAAAAA==</data>
|
||||||
|
<key>UIScale</key>
|
||||||
|
<data>AQ==</data>
|
||||||
|
</dict>
|
||||||
|
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
|
||||||
|
<dict>
|
||||||
|
<key>rtc-blacklist</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<dict>
|
||||||
|
<key>SystemAudioVolume</key>
|
||||||
|
<data>Rg==</data>
|
||||||
|
<key>boot-args</key>
|
||||||
|
<string>-v keepsyms=1 tlbto_us=0 vti=9 {{KERNEL_ARGS}}</string>
|
||||||
|
<key>run-efi-updater</key>
|
||||||
|
<string>No</string>
|
||||||
|
<key>csr-active-config</key>
|
||||||
|
<data>ZwAAAA==</data>
|
||||||
|
<key>prev-lang:kbd</key>
|
||||||
|
<data>ZW4tVVM6MA==</data>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Delete</key>
|
||||||
|
<dict>
|
||||||
|
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
|
||||||
|
<array>
|
||||||
|
<string>UIScale</string>
|
||||||
|
<string>DefaultBackgroundColor</string>
|
||||||
|
</array>
|
||||||
|
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
|
||||||
|
<array>
|
||||||
|
<string>rtc-blacklist</string>
|
||||||
|
</array>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<array>
|
||||||
|
<string>boot-args</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>LegacyEnable</key>
|
||||||
|
<false/>
|
||||||
|
<key>LegacyOverwrite</key>
|
||||||
|
<false/>
|
||||||
|
<key>LegacySchema</key>
|
||||||
|
<dict>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<array>
|
||||||
|
<string>EFILoginHiDPI</string>
|
||||||
|
<string>EFIBluetoothDelay</string>
|
||||||
|
<string>LocationServicesEnabled</string>
|
||||||
|
<string>SystemAudioVolume</string>
|
||||||
|
<string>SystemAudioVolumeDB</string>
|
||||||
|
<string>SystemAudioVolumeSaved</string>
|
||||||
|
<string>bluetoothActiveControllerInfo</string>
|
||||||
|
<string>bluetoothInternalControllerInfo</string>
|
||||||
|
<string>flagstate</string>
|
||||||
|
<string>fmm-computer-name</string>
|
||||||
|
<string>nvda_drv</string>
|
||||||
|
<string>prev-lang:kbd</string>
|
||||||
|
</array>
|
||||||
|
<key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
|
||||||
|
<array>
|
||||||
|
<string>Boot0080</string>
|
||||||
|
<string>Boot0081</string>
|
||||||
|
<string>Boot0082</string>
|
||||||
|
<string>BootNext</string>
|
||||||
|
<string>BootOrder</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>WriteFlash</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>PlatformInfo</key>
|
||||||
|
<dict>
|
||||||
|
<key>Automatic</key>
|
||||||
|
<true/>
|
||||||
|
<key>Generic</key>
|
||||||
|
<dict>
|
||||||
|
<key>AdviseWindows</key>
|
||||||
|
<false/>
|
||||||
|
<key>MLB</key>
|
||||||
|
<string>{{BOARD_SERIAL_OLD}}</string>
|
||||||
|
<key>ROM</key>
|
||||||
|
<data>
|
||||||
|
{{ROM}}
|
||||||
|
</data>
|
||||||
|
<key>SpoofVendor</key>
|
||||||
|
<true/>
|
||||||
|
<key>SystemProductName</key>
|
||||||
|
<string>{{DEVICE_MODEL}}</string>
|
||||||
|
<key>SystemSerialNumber</key>
|
||||||
|
<string>{{SERIAL_OLD}}</string>
|
||||||
|
<key>SystemUUID</key>
|
||||||
|
<string>{{SYSTEM_UUID_OLD}}</string>
|
||||||
|
</dict>
|
||||||
|
<key>UpdateDataHub</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateNVRAM</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateSMBIOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateSMBIOSMode</key>
|
||||||
|
<string>Create</string>
|
||||||
|
</dict>
|
||||||
|
<key>UEFI</key>
|
||||||
|
<dict>
|
||||||
|
<key>APFS</key>
|
||||||
|
<dict>
|
||||||
|
<key>EnableJumpstart</key>
|
||||||
|
<true/>
|
||||||
|
<key>GlobalConnect</key>
|
||||||
|
<false/>
|
||||||
|
<key>HideVerbose</key>
|
||||||
|
<false/>
|
||||||
|
<key>JumpstartHotPlug</key>
|
||||||
|
<true/>
|
||||||
|
<key>MinDate</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>MinVersion</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Audio</key>
|
||||||
|
<dict>
|
||||||
|
<key>AudioCodec</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AudioDevice</key>
|
||||||
|
<string>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x1)</string>
|
||||||
|
<key>AudioOut</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AudioSupport</key>
|
||||||
|
<false/>
|
||||||
|
<key>MinimumVolume</key>
|
||||||
|
<integer>20</integer>
|
||||||
|
<key>PlayChime</key>
|
||||||
|
<false/>
|
||||||
|
<key>VolumeAmplifier</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>ConnectDrivers</key>
|
||||||
|
<true/>
|
||||||
|
<key>Drivers</key>
|
||||||
|
<array>
|
||||||
|
<string>VBoxHfs.efi</string>
|
||||||
|
<string>OpenRuntime.efi</string>
|
||||||
|
<string>OpenCanopy.efi</string>
|
||||||
|
<string>#AudioDxe.efi</string>
|
||||||
|
<string>#OpenUsbKbDxe.efi</string>
|
||||||
|
<string>#UsbMouseDxe.efi</string>
|
||||||
|
<string>#Ps2KeyboardDxe.efi</string>
|
||||||
|
<string>#Ps2MouseDxe.efi</string>
|
||||||
|
<string>#HiiDatabase.efi</string>
|
||||||
|
<string>#NvmExpressDxe.efi</string>
|
||||||
|
<string>#XhciDxe.efi</string>
|
||||||
|
<string>#ExFatDxe.efi</string>
|
||||||
|
<string>#PartitionDxe.efi</string>
|
||||||
|
<string>#CrScreenshotDxe.efi</string>
|
||||||
|
</array>
|
||||||
|
<key>Input</key>
|
||||||
|
<dict>
|
||||||
|
<key>KeyFiltering</key>
|
||||||
|
<false/>
|
||||||
|
<key>KeyForgetThreshold</key>
|
||||||
|
<integer>5</integer>
|
||||||
|
<key>KeyMergeThreshold</key>
|
||||||
|
<integer>2</integer>
|
||||||
|
<key>KeySupport</key>
|
||||||
|
<true/>
|
||||||
|
<key>KeySupportMode</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
<key>KeySwap</key>
|
||||||
|
<false/>
|
||||||
|
<key>PointerSupport</key>
|
||||||
|
<false/>
|
||||||
|
<key>PointerSupportMode</key>
|
||||||
|
<string>ASUS</string>
|
||||||
|
<key>TimerResolution</key>
|
||||||
|
<integer>50000</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Output</key>
|
||||||
|
<dict>
|
||||||
|
<key>ClearScreenOnModeSwitch</key>
|
||||||
|
<false/>
|
||||||
|
<key>ConsoleMode</key>
|
||||||
|
<string></string>
|
||||||
|
<key>DirectGopRendering</key>
|
||||||
|
<false/>
|
||||||
|
<key>IgnoreTextInGraphics</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProvideConsoleGop</key>
|
||||||
|
<true/>
|
||||||
|
<key>ReconnectOnResChange</key>
|
||||||
|
<false/>
|
||||||
|
<key>ReplaceTabWithSpace</key>
|
||||||
|
<false/>
|
||||||
|
<key>Resolution</key>
|
||||||
|
<string>1920x1080@32</string>
|
||||||
|
<key>SanitiseClearScreen</key>
|
||||||
|
<false/>
|
||||||
|
<key>TextRenderer</key>
|
||||||
|
<string>BuiltinGraphics</string>
|
||||||
|
<key>UgaPassThrough</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>ProtocolOverrides</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleAudio</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleBootPolicy</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleDebugLog</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleEvent</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleFramebufferInfo</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleImageConversion</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleImg4Verification</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleKeyMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleRtcRam</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleSecureBoot</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleSmcIo</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleUserInterfaceTheme</key>
|
||||||
|
<false/>
|
||||||
|
<key>DataHub</key>
|
||||||
|
<false/>
|
||||||
|
<key>DeviceProperties</key>
|
||||||
|
<false/>
|
||||||
|
<key>FirmwareVolume</key>
|
||||||
|
<false/>
|
||||||
|
<key>HashServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>OSInfo</key>
|
||||||
|
<false/>
|
||||||
|
<key>UnicodeCollation</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>ExitBootServicesDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>IgnoreInvalidFlexRatio</key>
|
||||||
|
<false/>
|
||||||
|
<key>ReleaseUsbOwnership</key>
|
||||||
|
<false/>
|
||||||
|
<key>RequestBootVarRouting</key>
|
||||||
|
<true/>
|
||||||
|
<key>TscSyncTimeout</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>UnblockFsConnect</key>
|
||||||
|
<true/>
|
||||||
|
<key>ConnectDrivers</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -957,7 +957,7 @@
|
|||||||
<key>SystemAudioVolume</key>
|
<key>SystemAudioVolume</key>
|
||||||
<data>Rg==</data>
|
<data>Rg==</data>
|
||||||
<key>boot-args</key>
|
<key>boot-args</key>
|
||||||
<string>-v keepsyms=1 tlbto_us=0 vti=9</string>
|
<string>-v keepsyms=1 tlbto_us=0 vti=9 {{KERNEL_ARGS}}</string>
|
||||||
<key>run-efi-updater</key>
|
<key>run-efi-updater</key>
|
||||||
<string>No</string>
|
<string>No</string>
|
||||||
<key>csr-active-config</key>
|
<key>csr-active-config</key>
|
||||||
@ -1037,7 +1037,9 @@
|
|||||||
<key>ProcessorType</key>
|
<key>ProcessorType</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ROM</key>
|
<key>ROM</key>
|
||||||
<data>{{ROM}}</data>
|
<data>
|
||||||
|
{{ROM}}
|
||||||
|
</data>
|
||||||
<key>SpoofVendor</key>
|
<key>SpoofVendor</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SystemMemoryStatus</key>
|
<key>SystemMemoryStatus</key>
|
||||||
@ -1378,7 +1380,7 @@
|
|||||||
<key>ExitBootServicesDelay</key>
|
<key>ExitBootServicesDelay</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ForceOcWriteFlash</key>
|
<key>ForceOcWriteFlash</key>
|
||||||
<{{THINKPAD}}/>
|
<false/>
|
||||||
<key>ForgeUefiSupport</key>
|
<key>ForgeUefiSupport</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>IgnoreInvalidFlexRatio</key>
|
<key>IgnoreInvalidFlexRatio</key>
|
||||||
|
883
custom/config-nopicker-legacy.plist
Normal file
883
custom/config-nopicker-legacy.plist
Normal file
@ -0,0 +1,883 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>ACPI</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>add DTGP method</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-DTGP.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Fake EC and USBX Power</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-EC.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>USB 2.0 Injection</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-EHCI.aml</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>CPU AGPM Plugin=1</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>SSDT-PLUG.aml</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Delete</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>All</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Delete CpuPm</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data>Q3B1UG0AAAA=</data>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data>U1NEVA==</data>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>All</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Delete Cpu0Ist</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data>Q3B1MElzdAA=</data>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data>U1NEVA==</data>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Patch</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>_Q11 to XQ11</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>X1ExMQ==</data>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>WFExMQ==</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>_Q12 to XQ12</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>X1ExMg==</data>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>OemTableId</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>WFExMg==</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data></data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableLength</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>TableSignature</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>FadtEnableReset</key>
|
||||||
|
<false/>
|
||||||
|
<key>NormalizeHeaders</key>
|
||||||
|
<false/>
|
||||||
|
<key>RebaseRegions</key>
|
||||||
|
<false/>
|
||||||
|
<key>ResetHwSig</key>
|
||||||
|
<false/>
|
||||||
|
<key>ResetLogoStatus</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Booter</key>
|
||||||
|
<dict>
|
||||||
|
<key>MmioWhitelist</key>
|
||||||
|
<array/>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>AvoidRuntimeDefrag</key>
|
||||||
|
<true/>
|
||||||
|
<key>DevirtualiseMmio</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableSingleUser</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableVariableWrite</key>
|
||||||
|
<false/>
|
||||||
|
<key>DiscardHibernateMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>EnableSafeModeSlide</key>
|
||||||
|
<true/>
|
||||||
|
<key>EnableWriteUnprotector</key>
|
||||||
|
<true/>
|
||||||
|
<key>ForceExitBootServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectMemoryRegions</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectSecureBoot</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProtectUefiServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProvideCustomSlide</key>
|
||||||
|
<true/>
|
||||||
|
<key>ProvideMaxSlide</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>RebuildAppleMemoryMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>SetupVirtualMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>SignalAppleOS</key>
|
||||||
|
<false/>
|
||||||
|
<key>SyncRuntimePermissions</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>DeviceProperties</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<dict>
|
||||||
|
<key>PciRoot(0x1)/Pci(0x1F,0x0)</key>
|
||||||
|
<dict>
|
||||||
|
<key>compatible</key>
|
||||||
|
<string>pci8086,2916</string>
|
||||||
|
<key>device-id</key>
|
||||||
|
<data>
|
||||||
|
FikA
|
||||||
|
</data>
|
||||||
|
<key>name</key>
|
||||||
|
<string>pci8086,2916</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Delete</key>
|
||||||
|
<dict>
|
||||||
|
<key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
|
||||||
|
<array>
|
||||||
|
<string>MaximumBootBeepVolume</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Kernel</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>VoodooHDA.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/VoodooHDA</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>Lilu.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Patch engine</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/Lilu</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>VirtualSMC.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>SMC emulator</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/VirtualSMC</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>WhateverGreen.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Video patches</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/WhateverGreen</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>12.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>AGPMInjector.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>USBPorts.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>MCEReporterDisabler.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>AppleMCEReporter disabler</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>19.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Block</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>com.apple.driver.AppleTyMCEDriver</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Emulate</key>
|
||||||
|
<dict>
|
||||||
|
<key>Cpuid1Data</key>
|
||||||
|
<data>
|
||||||
|
VAYFAAAAAAAAAAAAAAAAAA==
|
||||||
|
</data>
|
||||||
|
<key>Cpuid1Mask</key>
|
||||||
|
<data>
|
||||||
|
////AAAAAAAAAAAAAAAAAA==
|
||||||
|
</data>
|
||||||
|
</dict>
|
||||||
|
<key>Force</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>Any</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>System/Library/Extensions/IONetworkingFamily.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Patch engine</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>com.apple.iokit.IONetworkingFamily</string>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/IONetworkingFamily</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>13.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Patch</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Base</key>
|
||||||
|
<string>_cpu_topology_sort</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>algrey - cpu_topology_sort -disable _x86_validate_topology</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>
|
||||||
|
6AAA//8=
|
||||||
|
</data>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>kernel</string>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data>
|
||||||
|
/wAA//8=
|
||||||
|
</data>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>20.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>17.0.0</string>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>
|
||||||
|
Dx9EAAA=
|
||||||
|
</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data>
|
||||||
|
</data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Base</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN</string>
|
||||||
|
<key>Count</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Find</key>
|
||||||
|
<data>
|
||||||
|
MduAPQAAAAAGdQA=
|
||||||
|
</data>
|
||||||
|
<key>Identifier</key>
|
||||||
|
<string>kernel</string>
|
||||||
|
<key>Limit</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Mask</key>
|
||||||
|
<data>
|
||||||
|
/////wAAAP///wA=
|
||||||
|
</data>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string>20.99.99</string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>17.0.0</string>
|
||||||
|
<key>Replace</key>
|
||||||
|
<data>
|
||||||
|
u7xP6njpXQAAAJA=
|
||||||
|
</data>
|
||||||
|
<key>ReplaceMask</key>
|
||||||
|
<data>
|
||||||
|
</data>
|
||||||
|
<key>Skip</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleCpuPmCfgLock</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmCfgLock</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmExtraMsrs</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleXcpmForceBoost</key>
|
||||||
|
<false/>
|
||||||
|
<key>CustomSMBIOSGuid</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableIoMapper</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableLinkeditJettison</key>
|
||||||
|
<true/>
|
||||||
|
<key>DisableRtcChecksum</key>
|
||||||
|
<false/>
|
||||||
|
<key>DummyPowerManagement</key>
|
||||||
|
<true/>
|
||||||
|
<key>ExternalDiskIcons</key>
|
||||||
|
<false/>
|
||||||
|
<key>IncreasePciBarSize</key>
|
||||||
|
<false/>
|
||||||
|
<key>LapicKernelPanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>PanicNoKextDump</key>
|
||||||
|
<false/>
|
||||||
|
<key>PowerTimeoutKernelPanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>ThirdPartyDrives</key>
|
||||||
|
<false/>
|
||||||
|
<key>XhciPortLimit</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Scheme</key>
|
||||||
|
<dict>
|
||||||
|
<key>FuzzyMatch</key>
|
||||||
|
<true/>
|
||||||
|
<key>KernelArch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>KernelCache</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Misc</key>
|
||||||
|
<dict>
|
||||||
|
<key>BlessOverride</key>
|
||||||
|
<array/>
|
||||||
|
<key>Boot</key>
|
||||||
|
<dict>
|
||||||
|
<key>ConsoleAttributes</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>HibernateMode</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
<key>HideAuxiliary</key>
|
||||||
|
<false/>
|
||||||
|
<key>PickerAttributes</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>PickerAudioAssist</key>
|
||||||
|
<false/>
|
||||||
|
<key>PickerMode</key>
|
||||||
|
<string>External</string>
|
||||||
|
<key>PollAppleHotKeys</key>
|
||||||
|
<true/>
|
||||||
|
<key>ShowPicker</key>
|
||||||
|
<false/>
|
||||||
|
<key>TakeoffDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>Timeout</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Debug</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleDebug</key>
|
||||||
|
<false/>
|
||||||
|
<key>ApplePanic</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisableWatchDog</key>
|
||||||
|
<false/>
|
||||||
|
<key>DisplayDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>DisplayLevel</key>
|
||||||
|
<integer>2147483650</integer>
|
||||||
|
<key>SerialInit</key>
|
||||||
|
<false/>
|
||||||
|
<key>SysReport</key>
|
||||||
|
<false/>
|
||||||
|
<key>Target</key>
|
||||||
|
<integer>3</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Entries</key>
|
||||||
|
<array/>
|
||||||
|
<key>Security</key>
|
||||||
|
<dict>
|
||||||
|
<key>AllowNvramReset</key>
|
||||||
|
<true/>
|
||||||
|
<key>AllowSetDefault</key>
|
||||||
|
<false/>
|
||||||
|
<key>ApECID</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AuthRestart</key>
|
||||||
|
<false/>
|
||||||
|
<key>BootProtect</key>
|
||||||
|
<string>None</string>
|
||||||
|
<key>DmgLoading</key>
|
||||||
|
<string>Signed</string>
|
||||||
|
<key>EnablePassword</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExposeSensitiveData</key>
|
||||||
|
<integer>6</integer>
|
||||||
|
<key>HaltLevel</key>
|
||||||
|
<integer>2147483648</integer>
|
||||||
|
<key>PasswordHash</key>
|
||||||
|
<data></data>
|
||||||
|
<key>PasswordSalt</key>
|
||||||
|
<data></data>
|
||||||
|
<key>ScanPolicy</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>SecureBootModel</key>
|
||||||
|
<string>Disabled</string>
|
||||||
|
<key>Vault</key>
|
||||||
|
<string>Optional</string>
|
||||||
|
</dict>
|
||||||
|
<key>Tools</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>Arguments</key>
|
||||||
|
<string></string>
|
||||||
|
<key>Auxiliary</key>
|
||||||
|
<false/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Not signed for security reasons</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Name</key>
|
||||||
|
<string>UEFI Shell</string>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>OpenShell.efi</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arguments</key>
|
||||||
|
<string>Shutdown</string>
|
||||||
|
<key>Auxiliary</key>
|
||||||
|
<true/>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Perform shutdown</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>Name</key>
|
||||||
|
<string>Shutdown</string>
|
||||||
|
<key>Path</key>
|
||||||
|
<string>ResetSystem.efi</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>NVRAM</key>
|
||||||
|
<dict>
|
||||||
|
<key>Add</key>
|
||||||
|
<dict>
|
||||||
|
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
|
||||||
|
<dict>
|
||||||
|
<key>DefaultBackgroundColor</key>
|
||||||
|
<data>AAAAAA==</data>
|
||||||
|
<key>UIScale</key>
|
||||||
|
<data>AQ==</data>
|
||||||
|
</dict>
|
||||||
|
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
|
||||||
|
<dict>
|
||||||
|
<key>rtc-blacklist</key>
|
||||||
|
<data></data>
|
||||||
|
</dict>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<dict>
|
||||||
|
<key>SystemAudioVolume</key>
|
||||||
|
<data>Rg==</data>
|
||||||
|
<key>boot-args</key>
|
||||||
|
<string>-v keepsyms=1 tlbto_us=0 vti=9 {{KERNEL_ARGS}}</string>
|
||||||
|
<key>run-efi-updater</key>
|
||||||
|
<string>No</string>
|
||||||
|
<key>csr-active-config</key>
|
||||||
|
<data>ZwAAAA==</data>
|
||||||
|
<key>prev-lang:kbd</key>
|
||||||
|
<data>ZW4tVVM6MA==</data>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>Delete</key>
|
||||||
|
<dict>
|
||||||
|
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
|
||||||
|
<array>
|
||||||
|
<string>UIScale</string>
|
||||||
|
<string>DefaultBackgroundColor</string>
|
||||||
|
</array>
|
||||||
|
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
|
||||||
|
<array>
|
||||||
|
<string>rtc-blacklist</string>
|
||||||
|
</array>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<array>
|
||||||
|
<string>boot-args</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>LegacyEnable</key>
|
||||||
|
<false/>
|
||||||
|
<key>LegacyOverwrite</key>
|
||||||
|
<false/>
|
||||||
|
<key>LegacySchema</key>
|
||||||
|
<dict>
|
||||||
|
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
|
||||||
|
<array>
|
||||||
|
<string>EFILoginHiDPI</string>
|
||||||
|
<string>EFIBluetoothDelay</string>
|
||||||
|
<string>LocationServicesEnabled</string>
|
||||||
|
<string>SystemAudioVolume</string>
|
||||||
|
<string>SystemAudioVolumeDB</string>
|
||||||
|
<string>SystemAudioVolumeSaved</string>
|
||||||
|
<string>bluetoothActiveControllerInfo</string>
|
||||||
|
<string>bluetoothInternalControllerInfo</string>
|
||||||
|
<string>flagstate</string>
|
||||||
|
<string>fmm-computer-name</string>
|
||||||
|
<string>nvda_drv</string>
|
||||||
|
<string>prev-lang:kbd</string>
|
||||||
|
</array>
|
||||||
|
<key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
|
||||||
|
<array>
|
||||||
|
<string>Boot0080</string>
|
||||||
|
<string>Boot0081</string>
|
||||||
|
<string>Boot0082</string>
|
||||||
|
<string>BootNext</string>
|
||||||
|
<string>BootOrder</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>WriteFlash</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>PlatformInfo</key>
|
||||||
|
<dict>
|
||||||
|
<key>Automatic</key>
|
||||||
|
<true/>
|
||||||
|
<key>Generic</key>
|
||||||
|
<dict>
|
||||||
|
<key>AdviseWindows</key>
|
||||||
|
<false/>
|
||||||
|
<key>MLB</key>
|
||||||
|
<string>{{BOARD_SERIAL_OLD}}</string>
|
||||||
|
<key>ROM</key>
|
||||||
|
<data>
|
||||||
|
{{ROM}}
|
||||||
|
</data>
|
||||||
|
<key>SpoofVendor</key>
|
||||||
|
<true/>
|
||||||
|
<key>SystemProductName</key>
|
||||||
|
<string>{{DEVICE_MODEL}}</string>
|
||||||
|
<key>SystemSerialNumber</key>
|
||||||
|
<string>{{SERIAL_OLD}}</string>
|
||||||
|
<key>SystemUUID</key>
|
||||||
|
<string>{{SYSTEM_UUID_OLD}}</string>
|
||||||
|
</dict>
|
||||||
|
<key>UpdateDataHub</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateNVRAM</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateSMBIOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>UpdateSMBIOSMode</key>
|
||||||
|
<string>Create</string>
|
||||||
|
</dict>
|
||||||
|
<key>UEFI</key>
|
||||||
|
<dict>
|
||||||
|
<key>APFS</key>
|
||||||
|
<dict>
|
||||||
|
<key>EnableJumpstart</key>
|
||||||
|
<true/>
|
||||||
|
<key>GlobalConnect</key>
|
||||||
|
<false/>
|
||||||
|
<key>HideVerbose</key>
|
||||||
|
<false/>
|
||||||
|
<key>JumpstartHotPlug</key>
|
||||||
|
<true/>
|
||||||
|
<key>MinDate</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>MinVersion</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Audio</key>
|
||||||
|
<dict>
|
||||||
|
<key>AudioCodec</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AudioDevice</key>
|
||||||
|
<string>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x1)</string>
|
||||||
|
<key>AudioOut</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>AudioSupport</key>
|
||||||
|
<false/>
|
||||||
|
<key>MinimumVolume</key>
|
||||||
|
<integer>20</integer>
|
||||||
|
<key>PlayChime</key>
|
||||||
|
<false/>
|
||||||
|
<key>VolumeAmplifier</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</dict>
|
||||||
|
<key>ConnectDrivers</key>
|
||||||
|
<true/>
|
||||||
|
<key>Drivers</key>
|
||||||
|
<array>
|
||||||
|
<string>VBoxHfs.efi</string>
|
||||||
|
<string>OpenRuntime.efi</string>
|
||||||
|
<string>OpenCanopy.efi</string>
|
||||||
|
<string>#AudioDxe.efi</string>
|
||||||
|
<string>#OpenUsbKbDxe.efi</string>
|
||||||
|
<string>#UsbMouseDxe.efi</string>
|
||||||
|
<string>#Ps2KeyboardDxe.efi</string>
|
||||||
|
<string>#Ps2MouseDxe.efi</string>
|
||||||
|
<string>#HiiDatabase.efi</string>
|
||||||
|
<string>#NvmExpressDxe.efi</string>
|
||||||
|
<string>#XhciDxe.efi</string>
|
||||||
|
<string>#ExFatDxe.efi</string>
|
||||||
|
<string>#PartitionDxe.efi</string>
|
||||||
|
<string>#CrScreenshotDxe.efi</string>
|
||||||
|
</array>
|
||||||
|
<key>Input</key>
|
||||||
|
<dict>
|
||||||
|
<key>KeyFiltering</key>
|
||||||
|
<false/>
|
||||||
|
<key>KeyForgetThreshold</key>
|
||||||
|
<integer>5</integer>
|
||||||
|
<key>KeyMergeThreshold</key>
|
||||||
|
<integer>2</integer>
|
||||||
|
<key>KeySupport</key>
|
||||||
|
<true/>
|
||||||
|
<key>KeySupportMode</key>
|
||||||
|
<string>Auto</string>
|
||||||
|
<key>KeySwap</key>
|
||||||
|
<false/>
|
||||||
|
<key>PointerSupport</key>
|
||||||
|
<false/>
|
||||||
|
<key>PointerSupportMode</key>
|
||||||
|
<string>ASUS</string>
|
||||||
|
<key>TimerResolution</key>
|
||||||
|
<integer>50000</integer>
|
||||||
|
</dict>
|
||||||
|
<key>Output</key>
|
||||||
|
<dict>
|
||||||
|
<key>ClearScreenOnModeSwitch</key>
|
||||||
|
<false/>
|
||||||
|
<key>ConsoleMode</key>
|
||||||
|
<string></string>
|
||||||
|
<key>DirectGopRendering</key>
|
||||||
|
<false/>
|
||||||
|
<key>IgnoreTextInGraphics</key>
|
||||||
|
<false/>
|
||||||
|
<key>ProvideConsoleGop</key>
|
||||||
|
<true/>
|
||||||
|
<key>ReconnectOnResChange</key>
|
||||||
|
<false/>
|
||||||
|
<key>ReplaceTabWithSpace</key>
|
||||||
|
<false/>
|
||||||
|
<key>Resolution</key>
|
||||||
|
<string>1920x1080@32</string>
|
||||||
|
<key>SanitiseClearScreen</key>
|
||||||
|
<false/>
|
||||||
|
<key>TextRenderer</key>
|
||||||
|
<string>BuiltinGraphics</string>
|
||||||
|
<key>UgaPassThrough</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>ProtocolOverrides</key>
|
||||||
|
<dict>
|
||||||
|
<key>AppleAudio</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleBootPolicy</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleDebugLog</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleEvent</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleFramebufferInfo</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleImageConversion</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleImg4Verification</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleKeyMap</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleRtcRam</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleSecureBoot</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleSmcIo</key>
|
||||||
|
<false/>
|
||||||
|
<key>AppleUserInterfaceTheme</key>
|
||||||
|
<false/>
|
||||||
|
<key>DataHub</key>
|
||||||
|
<false/>
|
||||||
|
<key>DeviceProperties</key>
|
||||||
|
<false/>
|
||||||
|
<key>FirmwareVolume</key>
|
||||||
|
<false/>
|
||||||
|
<key>HashServices</key>
|
||||||
|
<false/>
|
||||||
|
<key>OSInfo</key>
|
||||||
|
<false/>
|
||||||
|
<key>UnicodeCollation</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Quirks</key>
|
||||||
|
<dict>
|
||||||
|
<key>ExitBootServicesDelay</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>IgnoreInvalidFlexRatio</key>
|
||||||
|
<false/>
|
||||||
|
<key>ReleaseUsbOwnership</key>
|
||||||
|
<false/>
|
||||||
|
<key>RequestBootVarRouting</key>
|
||||||
|
<true/>
|
||||||
|
<key>TscSyncTimeout</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>UnblockFsConnect</key>
|
||||||
|
<true/>
|
||||||
|
<key>ConnectDrivers</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -24,17 +24,17 @@ Required options:
|
|||||||
Optional options:
|
Optional options:
|
||||||
--width <integer> Resolution x axis length in px, default 1920
|
--width <integer> Resolution x axis length in px, default 1920
|
||||||
--height <integer> Resolution y axis length in px, default 1080
|
--height <integer> Resolution y axis length in px, default 1080
|
||||||
|
--kernel-args <string> Additional boot-args
|
||||||
--input-plist-url <url> Specify an alternative master plist, via URL
|
--input-plist-url <url> Specify an alternative master plist, via URL
|
||||||
--master-plist-url <url> Same as above.
|
--master-plist-url <url> Same as above.
|
||||||
--custom-plist <filename> Optionally change the input plist.
|
--custom-plist <filename> Optionally change the input plist.
|
||||||
--master-plist <filename> Same as above.
|
--master-plist <filename> Same as above.
|
||||||
--output-bootdisk <filename> Optionally change the bootdisk filename
|
--output-bootdisk <filename> Optionally change the bootdisk filename
|
||||||
--output-plist <filename> Optionally change the output plist filename
|
--output-plist <filename> Optionally change the output plist filename
|
||||||
--thinkpad Sets ForceOcWriteFlash to true
|
|
||||||
--help, -h, help Display this help and exit
|
--help, -h, help Display this help and exit
|
||||||
|
|
||||||
Placeholders: {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}}, {{UUID}},
|
Placeholders: {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}}, {{UUID}},
|
||||||
{{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{THINKPAD}}
|
{{ROM}}, {{WIDTH}}, {{HEIGHT}}
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
./generate-specific-bootdisk.sh \\
|
./generate-specific-bootdisk.sh \\
|
||||||
@ -184,12 +184,6 @@ while (( "$#" )); do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
--thinkpad )
|
|
||||||
export THINKPAD=true
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid option ${1}. Running with default values..."
|
echo "Invalid option ${1}. Running with default values..."
|
||||||
shift
|
shift
|
||||||
@ -240,13 +234,6 @@ generate_bootdisk () {
|
|||||||
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}"
|
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${THINKPAD}" == true ]]; then
|
|
||||||
echo "Thinkpads: setting ForceOcWriteFlash to true"
|
|
||||||
export THINKPAD=true
|
|
||||||
else
|
|
||||||
export THINKPAD=false
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ -e ./opencore-image-ng.sh ] \
|
[ -e ./opencore-image-ng.sh ] \
|
||||||
|| { wget "${OPENCORE_IMAGE_MAKER_URL}" \
|
|| { wget "${OPENCORE_IMAGE_MAKER_URL}" \
|
||||||
&& chmod +x opencore-image-ng.sh ; }
|
&& chmod +x opencore-image-ng.sh ; }
|
||||||
@ -266,7 +253,7 @@ generate_bootdisk () {
|
|||||||
-e s/\{\{ROM\}\}/"${ROM}"/g \
|
-e s/\{\{ROM\}\}/"${ROM}"/g \
|
||||||
-e s/\{\{WIDTH\}\}/"${WIDTH:-1920}"/g \
|
-e s/\{\{WIDTH\}\}/"${WIDTH:-1920}"/g \
|
||||||
-e s/\{\{HEIGHT\}\}/"${HEIGHT:-1080}"/g \
|
-e s/\{\{HEIGHT\}\}/"${HEIGHT:-1080}"/g \
|
||||||
-e s/\{\{THINKPAD\}\}/"${THINKPAD:-false}"/g \
|
-e s/\{\{KERNEL_ARGS\}\}/"${KERNEL_ARGS:-}"/g \
|
||||||
"${MASTER_PLIST}" > ./tmp.config.plist || exit 1
|
"${MASTER_PLIST}" > ./tmp.config.plist || exit 1
|
||||||
else
|
else
|
||||||
cat <<EOF && exit 1
|
cat <<EOF && exit 1
|
||||||
@ -278,8 +265,11 @@ Error: one of the following values is missing:
|
|||||||
--uuid "${UUID:-MISSING}"
|
--uuid "${UUID:-MISSING}"
|
||||||
--mac-address "${MAC_ADDRESS:-MISSING}"
|
--mac-address "${MAC_ADDRESS:-MISSING}"
|
||||||
|
|
||||||
|
Optional:
|
||||||
|
|
||||||
--width "${WIDTH:-1920}"
|
--width "${WIDTH:-1920}"
|
||||||
--height "${HEIGHT:-1080}"
|
--height "${HEIGHT:-1080}"
|
||||||
|
--kernel-args "${KERNEL_ARGS:-}"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
@ -22,6 +22,7 @@ General options:
|
|||||||
--output-dir <directory> Optionally change the script output location
|
--output-dir <directory> Optionally change the script output location
|
||||||
--width <string> Resolution x axis length in px, default 1920
|
--width <string> Resolution x axis length in px, default 1920
|
||||||
--height <string> Resolution y axis length in px, default 1080
|
--height <string> Resolution y axis length in px, default 1080
|
||||||
|
--kernel-args <string> Additional boot-args
|
||||||
--input-plist-url <url> Specify an alternative master plist, via URL
|
--input-plist-url <url> Specify an alternative master plist, via URL
|
||||||
--master-plist-url <url> Same as above.
|
--master-plist-url <url> Same as above.
|
||||||
--custom-plist <filename> Optionally change the input plist.
|
--custom-plist <filename> Optionally change the input plist.
|
||||||
@ -30,7 +31,6 @@ General options:
|
|||||||
--create-envs, --envs Create all corresponding sourcable envs
|
--create-envs, --envs Create all corresponding sourcable envs
|
||||||
--create-plists, --plists Create all corresponding config.plists
|
--create-plists, --plists Create all corresponding config.plists
|
||||||
--create-bootdisks, --bootdisks Create all corresponding bootdisks [SLOW]
|
--create-bootdisks, --bootdisks Create all corresponding bootdisks [SLOW]
|
||||||
--thinkpad Toggles ForceOcWriteFlash to true
|
|
||||||
--help, -h, help Display this help and exit
|
--help, -h, help Display this help and exit
|
||||||
|
|
||||||
Additional options only if you are creating ONE serial set:
|
Additional options only if you are creating ONE serial set:
|
||||||
@ -39,7 +39,7 @@ Additional options only if you are creating ONE serial set:
|
|||||||
|
|
||||||
Custom plist placeholders:
|
Custom plist placeholders:
|
||||||
{{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}},
|
{{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}},
|
||||||
{{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{THINKPAD}}
|
{{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{KERNEL_ARGS}}
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
./generate-unique-machine-values.sh --count 1 --plists --bootdisks --envs
|
./generate-unique-machine-values.sh --count 1 --plists --bootdisks --envs
|
||||||
@ -204,13 +204,8 @@ while (( "$#" )); do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--thinkpad )
|
|
||||||
export THINKPAD=true
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid option ${1}. Running with default values..."
|
echo "Invalid option. Running with default values..."
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -295,14 +290,14 @@ generate_serial_sets () {
|
|||||||
|
|
||||||
# append to csv file
|
# append to csv file
|
||||||
tee -a "${CSV_SERIAL_SETS_FILE}" <<EOF
|
tee -a "${CSV_SERIAL_SETS_FILE}" <<EOF
|
||||||
"${DEVICE_MODEL}","${SERIAL}","${BOARD_SERIAL}","${UUID}","${MAC_ADDRESS}","${WIDTH}","${HEIGHT}"
|
"${DEVICE_MODEL}","${SERIAL}","${BOARD_SERIAL}","${UUID}","${MAC_ADDRESS}","${WIDTH}","${HEIGHT}","${KERNEL_ARGS}"
|
||||||
EOF
|
EOF
|
||||||
echo "Wrote CSV to: ${CSV_SERIAL_SETS_FILE}"
|
echo "Wrote CSV to: ${CSV_SERIAL_SETS_FILE}"
|
||||||
|
|
||||||
# append to tsv file
|
# append to tsv file
|
||||||
T=$'\t'
|
T=$'\t'
|
||||||
tee -a "${TSV_SERIAL_SETS_FILE}" <<EOF
|
tee -a "${TSV_SERIAL_SETS_FILE}" <<EOF
|
||||||
${DEVICE_MODEL}${T}${SERIAL}${T}${BOARD_SERIAL}${T}${UUID}${T}${MAC_ADDRESS}${T}${WIDTH}${T}${HEIGHT}
|
${DEVICE_MODEL}${T}${SERIAL}${T}${BOARD_SERIAL}${T}${UUID}${T}${MAC_ADDRESS}${T}${WIDTH}${T}${HEIGHT}${T}${KERNEL_ARGS}
|
||||||
EOF
|
EOF
|
||||||
echo "Wrote TSV to: ${TSV_SERIAL_SETS_FILE}"
|
echo "Wrote TSV to: ${TSV_SERIAL_SETS_FILE}"
|
||||||
|
|
||||||
@ -319,7 +314,6 @@ export UUID="${UUID}"
|
|||||||
export MAC_ADDRESS="${MAC_ADDRESS}"
|
export MAC_ADDRESS="${MAC_ADDRESS}"
|
||||||
export WIDTH="${WIDTH}"
|
export WIDTH="${WIDTH}"
|
||||||
export HEIGHT="${HEIGHT}"
|
export HEIGHT="${HEIGHT}"
|
||||||
export THINKPAD="${THINKPAD}"
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -340,13 +334,6 @@ EOF
|
|||||||
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}"
|
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${THINKPAD}" == true ]]; then
|
|
||||||
echo "Thinkpads: setting ForceOcWriteFlash to true"
|
|
||||||
export THINKPAD=true
|
|
||||||
else
|
|
||||||
export THINKPAD=false
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p "${OUTPUT_DIRECTORY}/plists"
|
mkdir -p "${OUTPUT_DIRECTORY}/plists"
|
||||||
source "${OUTPUT_ENV_FILE}"
|
source "${OUTPUT_ENV_FILE}"
|
||||||
ROM="${MAC_ADDRESS//\:/}"
|
ROM="${MAC_ADDRESS//\:/}"
|
||||||
@ -358,7 +345,7 @@ EOF
|
|||||||
-e s/\{\{ROM\}\}/"${ROM}"/g \
|
-e s/\{\{ROM\}\}/"${ROM}"/g \
|
||||||
-e s/\{\{WIDTH\}\}/"${WIDTH}"/g \
|
-e s/\{\{WIDTH\}\}/"${WIDTH}"/g \
|
||||||
-e s/\{\{HEIGHT\}\}/"${HEIGHT}"/g \
|
-e s/\{\{HEIGHT\}\}/"${HEIGHT}"/g \
|
||||||
-e s/\{\{THINKPAD\}\}/"${THINKPAD}"/g \
|
-e s/\{\{KERNEL_ARGS\}\}/"${KERNEL_ARGS:-}"/g \
|
||||||
"${MASTER_PLIST}" > "${OUTPUT_DIRECTORY}/plists/${SERIAL}.config.plist" || exit 1
|
"${MASTER_PLIST}" > "${OUTPUT_DIRECTORY}/plists/${SERIAL}.config.plist" || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -376,11 +363,11 @@ EOF
|
|||||||
done
|
done
|
||||||
|
|
||||||
[ -e "${CSV_SERIAL_SETS_FILE}" ] && \
|
[ -e "${CSV_SERIAL_SETS_FILE}" ] && \
|
||||||
cat <(echo "DEVICE_MODEL,SERIAL,BOARD_SERIAL,UUID,MAC_ADDRESS,WIDTH,HEIGHT") "${CSV_SERIAL_SETS_FILE}"
|
cat <(echo "DEVICE_MODEL,SERIAL,BOARD_SERIAL,UUID,MAC_ADDRESS,WIDTH,HEIGHT,KERNEL_ARGS") "${CSV_SERIAL_SETS_FILE}"
|
||||||
|
|
||||||
|
|
||||||
[ -e "${TSV_SERIAL_SETS_FILE}" ] && \
|
[ -e "${TSV_SERIAL_SETS_FILE}" ] && \
|
||||||
cat <(printf "DEVICE_MODEL\tSERIAL\tBOARD_SERIAL\tUUID\tMAC_ADDRESS\tWIDTH\tHEIGHT\n") "${TSV_SERIAL_SETS_FILE}"
|
cat <(printf "DEVICE_MODEL\tSERIAL\tBOARD_SERIAL\tUUID\tMAC_ADDRESS\tWIDTH\tHEIGHT\tKERNEL_ARGS\n") "${TSV_SERIAL_SETS_FILE}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,11 +33,11 @@ This installs `docker-osx` in Kubernetes.
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
*) Install [host machine requirements](#INSTALL-QEMU-AND-GPU-IOMMU.md)
|
* Install [host machine requirements](#INSTALL-QEMU-AND-GPU-IOMMU.md)
|
||||||
*) Ensure you are running QEMU 5.X
|
* Ensure you are running QEMU 5.X
|
||||||
*) Kubernetes
|
* Kubernetes
|
||||||
*) Helm v2
|
* Helm v2
|
||||||
*) `sickcodes/docker-osx-vnc` Docker image
|
* `sickcodes/docker-osx-vnc` Docker image
|
||||||
|
|
||||||
### Build `sickcodes/docker-osx-vnc`
|
### Build `sickcodes/docker-osx-vnc`
|
||||||
|
|
||||||
|
Submodule osx-serial-generator updated: e9b2bf825c...a9e2b126db
@ -70,7 +70,8 @@
|
|||||||
# VNC Version
|
# VNC Version
|
||||||
# Let's piggyback the other image:
|
# Let's piggyback the other image:
|
||||||
|
|
||||||
FROM sickcodes/docker-osx:latest
|
ARG BASE_IMAGE=sickcodes/docker-osx:latest
|
||||||
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||||
|
|
||||||
|
@ -30,7 +30,8 @@
|
|||||||
# docker run -it --device /dev/kvm -p 50922:10022 -v ${PWD}/mac_hdd_ng.img:/image -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx:nakedvnc
|
# docker run -it --device /dev/kvm -p 50922:10022 -v ${PWD}/mac_hdd_ng.img:/image -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx:nakedvnc
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM sickcodes/docker-osx:latest
|
ARG BASE_IMAGE=sickcodes/docker-osx:latest
|
||||||
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user