HI,
Was wondering if anyone knew of a way to deploy settings for a windows guest to a few computers ?
I would like to share an immutable base windows image, so they can run virtualbox on the hosts and connect to a base machine, play around, but settings wiped.
I have such a base image, and its set as immutable, and multi-attach works fine. But I am looking for some way to give out the settings of this machine to the various machines with virtual box installed on. I tried linking directly to the vbox file, but it complained over the lack of storage guid configured directly, i couldnt see a way to reference the storage disk via a path other than guid.
The people using wouldnt have much access to the machine (Hence the need for a virtual contained machine they can play with in safety)
Any ideas ? Sorry if I have missed something obvious
Deploying guest settings?
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Deploying guest settings?
Moved to "Using Virtualbox" as this has nothing to do with a Windows Guest.
Have you considered just copying the VM folder to the PCs and register that machine using vboxmanage in a remote prompt?
Or is there something else you want to achieve?
Have you considered just copying the VM folder to the PCs and register that machine using vboxmanage in a remote prompt?
Or is there something else you want to achieve?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Deploying guest settings?
Probably being dim. but when I try to register the machine on a fresh install froma copied folder, . I get this error :
VBoxManage.exe: error: Could not find an open hard disk with UUID {8162df05-bb1f-47b7-ad8c-cee066f0e0f0}
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "OpenMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 88 of file VBoxManageMisc.cpp
On a new install I don't have the disk in media manager, I'm thinking maybe add the machine without a hard drive, then use script to attach the disk image and change its mode to immutable?
Or if there is an easier way
VBoxManage.exe: error: Could not find an open hard disk with UUID {8162df05-bb1f-47b7-ad8c-cee066f0e0f0}
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "OpenMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 88 of file VBoxManageMisc.cpp
On a new install I don't have the disk in media manager, I'm thinking maybe add the machine without a hard drive, then use script to attach the disk image and change its mode to immutable?
Or if there is an easier way
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Deploying guest settings?
If the disk was made immutable before copying, it also means you have a base disk AND a diff disk for tempory changes. Are you sure you have copied everything and that everything was actually located in the VM folder?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!