Add Virtual machines Automatically to Virtual Box

Discussions about using Windows guests in VirtualBox.
Post Reply
sahas20
Posts: 1
Joined: 17. Dec 2010, 03:47
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7

Add Virtual machines Automatically to Virtual Box

Post by sahas20 »

Hi All,
I work for an education instute and our environment is totally mac. I have aroung 1600 macbooks to iamge for 2011 and Each MBP has a virtual Windows 7 VM. All macs are connected Active directory and Open Directory.
The problem I have is that we create the virtual machine using Local Admin account and I placed the virtual machine in a place accessible by all users(/Users/Shared/VirtualBox) (as the default install is in (~/Library/VirtualBox). But When the user logges in They can't see the Virtual machine. I still have to log in as a user and point the application to the VM. I want to not have to touch it after the imageing. I jsut need it to appear for the every user logges in to the machine. Is there a Script for this??

Please Help....

Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Add Virtual machines Automatically to Virtual Box

Post by Sasquatch »

Look for a system wide variable that you can set, then call it VBOX_USER_HOME and point it to the shared VM location. You have to make sure that everything for VB is in that common location, so the main XML has to be there too, so whoever starts VB can read it's config.
But keep in mind that after one run, the VirtualBox.xml file will become user read/write only. No group or other can read it. This means that User A logs on to the Mac, start VB, then closes it again, User B won't be able read the settings file on that same Mac. At least, that's how it's done on Linux. Mac OSX has a similar structure so it should apply for it too.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply