Select macOS 10.13 High Sierra as the OS version.
hdiutil create -o /tmp/HighSierra -size 8g -layout SPUD -fs JHFS+ hdiutil attach /tmp/HighSierra.dmg -noverify -mountpoint /Volumes/InstallHighSierra sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/InstallHighSierra --nointeraction macos high sierra 10136iso
If you are evaluating whether to maintain an active High Sierra environment, remember that version 10.13 introduced foundational modern changes to the Apple ecosystem: Select macOS 10
softwareupdate --fetch-full-installer --full-installer-version 10.13.6 macos high sierra 10136iso
For VM users with your own ISO (created in Part 4):
: You can still download the High Sierra installer through the Mac App Store on compatible devices.