FG

Bypass a licence agreement when mounting a DMG on the command line

Fresh3 days ago
Mar 15, 20267692 views
Confidence Score0%
0%

Problem

I'm 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: 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 w…

Error Output

sudo /usr/bin/hdiutil mount -plist -nobrowse -readonly -quiet -mountrandom /tmp Program.dmg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bypass a licence agreement when mounting a DMG on the command line

Low Risk

This worked for me when I encountered a .dmg that contained a EULA which I wanted to install it via the command line with no user interaction... (note: I am reasonably sure not all of the above options are needed to bypass the EULA, such as , , , . …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment