The Virtualbox cloud module allows you to manage a local Virtualbox hypervisor. Remote hypervisors may come later on.
The virtualbox module for Salt Cloud requires the Virtualbox SDK which is contained in a virtualbox installation from
The Virtualbox cloud module just needs to use the virtualbox driver for now. Virtualbox will be run as the running user.
virtualbox-config: driver: virtualbox
Set up an initial profile at
virtualbox-test: provider: virtualbox-config clonefrom: VM_to_clone_from # Optional power_on: True deploy: True ssh_username: a_username password: a_password sudo: a_username sudo_password: a_password # Example minion config minion: master: localhost make_master: True
Enter the name of the VM/template to clone from.
So far only machines can only be cloned and automatically provisioned by Salt Cloud.
In order to provision when creating a new machine
deploy have to be
Furthermore to connect to the VM
password will have to be set.
sudo_password are the credentials for getting root access in order to deploy salt
Attempt to boot a VM by name. VMs should have unique names in order to boot the correct one.
Attempt to stop a VM. This is akin to a force shutdown or 5 second press.
Show all available information about a VM given by the image parameter
$ salt-cloud -f show_image virtualbox image=my_vm_name