-
-
Save dd5md/9e6e9a52d1f38095bdc8f45f0203e7d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eux | |
hdiutil create -o /tmp/ventura -size 16384m -volname ventura -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/ventura.dmg -noverify -mountpoint /Volumes/ventura | |
sudo /Applications/Install\ macOS\ Ventura\.app//Contents/Resources/createinstallmedia --volume /Volumes/vent\ | |
ura --nointeraction | |
hdiutil eject -force /Volumes/Install\ macOS\ Ventura | |
hdiutil convert /tmp/ventura.dmg -format UDTO -o ~/Desktop/ventura.cdr | |
mv ~/Desktop/ventura.cdr ~/Desktop/ventura.iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment