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.
/etc/salt/cloud.providers
or /etc/salt/cloud.providers.d/virtualbox.conf
:
virtualbox-config:
driver: virtualbox
Set up an initial profile at /etc/salt/cloud.profiles
or
/etc/salt/cloud.profiles.d/virtualbox.conf
:
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
clonefrom
MandatorySo far only machines can only be cloned and automatically provisioned by Salt Cloud.