mirror of
https://github.com/luchina-gabriel/OSX-PROXMOX.git
synced 2024-10-31 08:30:57 +01:00
Update tool for create a .ISO of macOS
This commit is contained in:
parent
eff19e612c
commit
506082b55e
@ -24,7 +24,7 @@ echo " "
|
|||||||
## Core
|
## Core
|
||||||
cd ${TEMPDIR} > /dev/null 2> /dev/null
|
cd ${TEMPDIR} > /dev/null 2> /dev/null
|
||||||
rm -rf macOS-install* > /dev/null 2> /dev/null
|
rm -rf macOS-install* > /dev/null 2> /dev/null
|
||||||
hdiutil create -o macOS-install -size 14g -layout GPTSPUD -fs HFS+J > /dev/null 2> /dev/null
|
hdiutil create -o macOS-install -size 15g -layout GPTSPUD -fs HFS+J > /dev/null 2> /dev/null
|
||||||
hdiutil attach -noverify -mountpoint /Volumes/install_build macOS-install.dmg > /dev/null 2> /dev/null
|
hdiutil attach -noverify -mountpoint /Volumes/install_build macOS-install.dmg > /dev/null 2> /dev/null
|
||||||
sudo "${APPOSX}/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction
|
sudo "${APPOSX}/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction
|
||||||
hdiutil detach -force "/Volumes/Install macOS"* > /dev/null 2> /dev/null && sleep 3s > /dev/null 2> /dev/null
|
hdiutil detach -force "/Volumes/Install macOS"* > /dev/null 2> /dev/null && sleep 3s > /dev/null 2> /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user