Thank you for this awesome docker @SpaceInvaderOne!
Unfortunately I am experiencing some problems (see below). After pulling the macinabox docker, it won't download any macOS image but instantly tells the "dmg image is corrupted". Can't find any help on this so far.
Best regards
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Mon Jun 22 15:55:36 Europe 2020
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I am going to download the Catalina recovery media. Please be patient!
.
.
Collecting requests (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (126kB)
Collecting chardet<4,>=3.0.2 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python2.7/dist-packages (from requests->-r requirements.txt (line 1))
Installing collected packages: urllib3, chardet, certifi, requests, click
Successfully installed certifi-2020.6.20 chardet-3.0.4 click-7.1.2 requests-2.24.0 urllib3-1.25.9
2020-06-22 15:55:38,397 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
2020-06-22 15:55:39,336 Selected macOS Product: 001-04366
preparation of install media
.
.
mkdir: created directory '/config/install_media'
mkdir: created directory '/config/install_media/Catalina'
I have created the Macinabox directories
.
.
dmg2img v1.6.7 (c) vu1tur (
[email protected])
ERROR: dmg image is corrupted
chmod: cannot access '/config/install_media/Catalina/Catalina-install.img': No such file or directory
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
Summary of what has been done
.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
MacOS inatall media was put in /config/install_media/Catalina/Catalina-install.img
No Vdisk was created. You will need to manaually do this as prepare option was set in docker container template
Compatible OVMF files vere put in /mnt/user/appdata/Macinabox/ovmf
XML template file for the vm was placed in /mnt/user/appdata/Macinabox
Everything is now prepared. You need to move files to correct place yourself and edit/copy xml then start the install
.
.
OK process has finished at Mon Jun 22 15:55:36 Europe 2020