We were asked to package VirtualBox for mass deployment to macOS users.
Where are the preferences to disable EULA and Updates (we're on the hook for both).
Disabling Updates via GUI doesn't seem to write to ~/Library/Preferences/org.virtualbox.app.VirtualBox.plist so curious where this pref is stored.
TIA,
Don
VirtualBox preferences (mass deployment)
-
donmontalvo
- Posts: 3
- Joined: 19. May 2018, 01:56
Re: VirtualBox preferences (mass deployment)
Found it in ~/Library/VirtualBox/VirtualBox.xml > <ExtraDataItem name="GUI/UpdateDate" value="never"/>.
But...the file seems to warn that it'll be overwritten...guessing there's no programmatic way to do this?
But...the file seems to warn that it'll be overwritten...guessing there's no programmatic way to do this?
Code: Select all
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: VirtualBox preferences (mass deployment)
Did you try the 'VBoxManage setextradata' command?
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VirtualBox preferences (mass deployment)
VirtualBox is not your typical app. It needs to install kernel drivers. How exactly are you planning on doing that? Especially if you're in 10.13.x, where you have to specifically and interactively have an administrator allow the installation of a kernel driver from a developer (such as Oracle)?donmontalvo wrote:We were asked to package VirtualBox for mass deployment to macOS users.
Mind you that not even RDP can work in that case, you have to be physically in front of the computer to allow that? Or are you planning to mass sabotage the security features of your OSX installations by disabling all the security features of 10.13.x?
Plus, you can't mass distribute the Ext.Pack, that's a clear violation of its license agreement!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
donmontalvo
- Posts: 3
- Joined: 19. May 2018, 01:56
Re: VirtualBox preferences (mass deployment)
Hi @socratis,
Yep, hopefully one day VirtualBox will move away from KEXTs.
With that said, we use Jamf Pro to manage 10K+ Macs at a multimedia company, so we'd just add the VirtualBox TeamID (VB5E2TV963) to our whitelist configuration profile. ¯\_(ツ)_/¯
Back to the original question, we're trying to suppress EULA (enterprise are not legally able to accept terms on behalf of company), and updates (all update are tested before staged deployment).
I'm only trying to find out how to disable EULA and updates...it's a straight forward need/request...I would be surprised/disappointed if there isn't a programatic way to do that.
Thanks,
Don
Yep, hopefully one day VirtualBox will move away from KEXTs.
With that said, we use Jamf Pro to manage 10K+ Macs at a multimedia company, so we'd just add the VirtualBox TeamID (VB5E2TV963) to our whitelist configuration profile. ¯\_(ツ)_/¯
Back to the original question, we're trying to suppress EULA (enterprise are not legally able to accept terms on behalf of company), and updates (all update are tested before staged deployment).
Can you provide some context? Are you saying we can't deploy managed settings? Or are you saying a tool that another person mentioned (which I never heard of) can't be deployed?Plus, you can't mass distribute the Ext.Pack, that's a clear violation of its license agreement!
I'm only trying to find out how to disable EULA and updates...it's a straight forward need/request...I would be surprised/disappointed if there isn't a programatic way to do that.
Thanks,
Don
Last edited by socratis on 22. May 2018, 09:34, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.
-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: VirtualBox preferences (mass deployment)
The license for the VirtualBox Extension Pack doesn't allow commercial use. You can only redistribute / deploy the base VirtualBox package which is licensed as GPL2 in a commercial setting without buying licenses.
The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VirtualBox preferences (mass deployment)
Great. That should make the installation of the main program go smoother. And here's the summary of what you need to do to pretty much get VirtualBox installed:donmontalvo wrote:we'd just add the VirtualBox TeamID (VB5E2TV963) to our whitelist configuration profile
# Detach any "VirtualBox" volumes, if any, in case of a previous failed attempt sudo hdiutil detach /Volumes/VirtualBox # Mount the VirtualBox.dmg and run the Uninstaller, to remove any previous VirtualBox version. If any...sudo hdiutil attach "$MY_VirtualBox" sudo /Volumes/VirtualBox/VirtualBox_Uninstall.tool --unattended # Install VirtualBox. It *has to* be installed in the "/Applications" directory of every OSX. sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target / # Detach the VirtualBox volume sudo hdiutil detach /Volumes/VirtualBox
And from the Extension Pack license agreement that Martin just linked to:donmontalvo wrote:we use Jamf Pro to manage 10K+ Macs
It looks to me that you have to contact Oracle if you want to deploy VirtualBox's Extension Pack on 10K+ Macs...§ 2 Grant of license. Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product on Host Computers for your Personal Use, Educational Use, or Evaluation. “Personal Use” is noncommercial use solely by the person downloading the Product from Oracle on a single Host Computer, provided that no more than one client or remote computer is connected to that Host Computer and that client or remote computer is used solely to remotely view the Guest Computer(s). “Educational Use” is any use by teachers or students in an academic institution (schools, colleges and universities) as part of the institution’s educational curriculum. “Evaluation” means testing the Product for up to thirty (30) days; after expiry of that term, you are no longer permitted to use the Product. Personal Use and/or Educational Use expressly exclude any use of the Product for commercial purposes or to operate, run, or act on behalf of or for the benefit of a business, organization, governmental organization, or educational institution.
NOTE: this license agreement does not apply to the main VirtualBox program, only the Extension Pack.
About that... VirtualBox doesn't work with a per-OSX settings, it works with a per-user settings. And they're not your .plist settings, they're a simple XML file. You can "manipulate"/"control" them from the command line.donmontalvo wrote:Are you saying we can't deploy managed settings?
So (to use your example), if you don't want your users to be checking for VirtualBox updates, you could do that from the command-line (via a login script?), but any knowledgeable user could override that "directive"/"suggestion". BTW, the command would be:
VBoxManage setextradata global "GUI/UpdateDate" "never"
PS. Why do I get the feeling that the number of posts in the "OSX Hosts" section is going to get a boost? That's a "good thing"™
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.