![]() ![]() Isn't this something that should "just work" -) Note that I now append the build number onto OS update packages because you never know when Apple's going to have another QC issue and need to rerelease one with the same name (hopefully they update the Yeah it's not going to allow you to install that security update until the system has rebooted for the macOS Mojave install. Only running the Security Update also fails. Needless to say this script is successful if I only run the custompackage.pkg and not the Security Update. Looking in the logs it looks like it tries and fails to find /Library/Preferences/ ERROR_ABA5BBB51F Quit the installer to restart your computer and try again. Instead, I get an error on reboot: macOS could not be installed on your computer. I was really hoping to be able to slipstream to the latest Mojave install rather than installing the latest security update after the fact. Volumes/Install macOS Mojave/Install macOS Mojave.app/Contents/Resources/startosinstall -agreetolicense -volume /Volumes/Macintosh HD -installpackage /Volumes/Install macOS Mojave/cmecerts.pkg -installpackage /Volumes/Install macOS Mojave/SecUpd2019-002Mojave_18G2022.pkg Volumes/Image Volume/Install macOS Mojave.app/Contents/Resources/startosinstall -agreetolicense -volume /Volumes/Macintosh HD -installpackage /Volumes/Image Volume/custompackage.pkg -installpackage /Volumes/Image Volume/SecUpd2019-002Mojave_18G2022.pkgĮlif thenĮcho "Installing Mojave from USB Install macOS Mojave" If thenĮcho "Installing Mojave from Booted USB Image Volume" # mojaveinstall.sh to be used to wipe and reinstall Macsĭiskutil partitionDisk disk0 GPT APFS "Macintosh HD" 0gĮcho "beginning OS install with custom package" ![]() What I really want to know is why when reimaging a Mac with a USB stick, I've got a script: #!/bin/sh Even successfully forced systems to upgrade, although that can ruin a user's next couple of hours. Note that I make ample use of smart groups to determine whether the DMG has been cached or if the /Applications/Install macOS Mojave.app is present to enable users to run different Mojave installers. Then I run a script similar to the above, referenced in many other places and not modified.(I should really post that script sometime, it's handy for DMG-drag-to-/Applications-to-install applications.) My DMG is my installation package, so its content gets copied to /Install macOS Mojave.app, then use a post-install script to move it /Install macOS Mojave.app to /Applications.I use the DMG as downloaded by installinstallmacos.py.You can run this via policy or jamf remote. Applications/Install macOS Mojave.app/Contents/Resources/startosinstall -agreetolicense -eraseinstall -newvolumename "Macintosh HD" -nointeraction UUID=$(ioreg -rd1 -c IOPlatformExpertDevice | awk -F" '/IOPlatformUUID/" -X DELETE JSSURL=$(defaults read /Library/Preferences/ jss_url | sed 's|/$||') we clear the mac every year: #!/bin/shĪPIUSER="username" # Change to your API user account with delete computer privilegesĪPIPASS="password" # Change to the password of the above API account so we did first a packges of mojave in pkg with composer and then via installed with this script: /Applications/Install macOS Mojave.app/Contents/Resources/startosinstall -agreetolicense -nointeractionĪfter that we run this script to clear anything. we was still on sierra and we wanted to upgrade the system to mojave. Any help with that would be great! Thank you. Given my scenario which route should i take? Long Script or one liner? Any Step by Step or video instructions out there that i can follow in order to achieve what i need. I know there are multiple links to a script that is about a page long on GitHub and there are one liners commands that can perform the upgrade. Second i know for a fact that users do not have admin rights, so this needs to be taking in to consideration when doing upgrade. I don't want to assume that those devices have Mojave cached, therefore i think i would need to create a package that would get pushed to Application Folder ( I am trying to find out how to do that, so far no luck) I have been tasked to upgrade some of the devices that still on High Sierra to Mojave and it needs to be done via self service. People are saying that some times script is not working, or the results are not consistent in the environment. I have been reading a lot of posts on here and there is no universal step by step instructions that i could find. Hello guys, i know this question have been asked and answered. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |