Skip to main content
Solved

Execute Command in Policy Help

  • December 14, 2022
  • 2 replies
  • 19 views

Sclewis
Forum|alt.badge.img+4

I've following the instructions from the documentation to create a OS Ventura installer to test out manual OS Upgrades for our organization. I'm having issues with the command execution. The packager installs correctly and can be found in the /private/var folder, I can even go in and start the install from there. But I'm struggling with the command to get it to install. I've tried:  /private/var/Install\\macOS\\Ventura.app/Contents/Resources/startosinstall --agreetolicense. This yield a result of: No such file or directory. This was how one of Jamf's training video said to do it and I followed the instructions exactly.

I've also tried /private/var/Install macOS Ventura.app/Contents/Resources/startosinstall --agreetolicense

and the result of the command is: is a directory. 

I'm very inexperiences with the command line so any help is appreciated. 

 

Best answer by geoff_widdowson

try the following. The quote marks should gelp.

'/private/var/Install macOS Ventura.app/Contents/Resources/startosinstall' --agreetolicense

2 replies

geoff_widdowson
Forum|alt.badge.img+8
  • Contributor
  • 124 replies
  • Answer
  • December 14, 2022

try the following. The quote marks should gelp.

'/private/var/Install macOS Ventura.app/Contents/Resources/startosinstall' --agreetolicense


Sclewis
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 15 replies
  • December 14, 2022

Thank you! That did the trick!