Last active
July 29, 2023 02:37
-
-
Save src256/521142d1cdf85bab3a56cea9982f5c10 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