Locating virtualbox licenses

georgbhm
New Contributor III

Hi all,

I'm trying to locate the Virtualbox License file on managed devices. I followed the guide outlined here https://community.jamf.com/t5/jamf-pro/best-methods-to-search-for-the-existence-of-a-file/m-p/286067 but a Smart Search doesn't yield any results (I personally created a dummy file to check that)

I created an EA with the script outlined

 

 

#!/bin/bash

LicenseFilePath="/Applications/VirtualBox.app/Contents/MacOS/ExtensionPacks/Oracle_VM_VirtualBox_ Extension_Pack/ExtPack-license.html"

if [[ -e "${LicenseFilePath}" ]]; then
    EA_RESULT="Installed"
else
    EA_RESULT="Not installed"
fi

echo "<result>${EA_RESULT}</result>"

 

 

I created a Smart Group with EA-Name as Criteria and Value Installed

Any suggestions?

 

Thanks!

 

1 ACCEPTED SOLUTION

georgbhm
New Contributor III

Found the problem! there's a space too much in the path :)

View solution in original post

2 REPLIES 2

georgbhm
New Contributor III

Found the problem! there's a space too much in the path :)

jchen1225
Contributor

Thanks for this, we just got an email from Oracle asking to track these down.