how to automatically accept license with mounting mac osx .dmg files from command line?
Posted
by
Vitaly Kushner
on Super User
See other posts from Super User
or by Vitaly Kushner
Published on 2010-12-12T04:33:43Z
Indexed on
2010/12/25
20:55 UTC
Read the original article
Hit count: 292
Im automating my mac installation using 'puppet'. as a part of it I need to install several programs that come in a .dmg format.
I use the following to mount them:
sudo /usr/bin/hdiutil mount -plist -nobrowse -readonly -quiet -mountrandom /tmp Program.dmg
The problem is that some .dmg files come with a license attached, and so script is stuck accepting the license. (there is no stdin/out when running with puppet, so I can't manually approve it to continue).
Is there a way to pre-approve or force-approve the license?
© Super User or respective owner