Skip to main content
Solved

Locating virtualbox licenses

  • November 13, 2023
  • 2 replies
  • 13 views

georgbhm
Forum|alt.badge.img+5

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!

 

Best answer by georgbhm

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

2 replies

georgbhm
Forum|alt.badge.img+5
  • Author
  • New Contributor
  • Answer
  • November 13, 2023

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


Forum|alt.badge.img+9
  • Contributor
  • March 21, 2024

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