mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Device_Model in docker-compose file #445
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ugurkocde on GitHub (Dec 16, 2022).
I have the following docker-compose.yml:
services:
container1:
container_name: MacBook_Pro_M2
image: sickcodes/docker-osx:ventura
devices:
- /dev/kvm
environment:
- RAM=8
- CORES=4
- DISPLAY=${DISPLAY:-:0.0}
- GENERATE_UNIQUE="true"
- DEVICE_MODEL="Mac14,7"
- MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
ports:
- 50922:10022
volumes:
- /mnt/wslg/.X11-unix:/tmp/.X11-unix
My problem is that the Device_Model is always overwritten and does not take the Mac14,7 which is defined in the yml.
It seems like that iMacPro1,1 is always the default.
Can someone help?
@ugurkocde commented on GitHub (Dec 16, 2022):
The Serial Number always ends with HX87 which points to the iMacPro1,1.
I found out that doing the following, gives me the correct HW Model:
BUT, the serialnumer is just Model.
It looks to me like that the serial generator does not have the correct output.
Anybody have any idea how I could fix this?