The Vagrant cloud is designed to "vagrant up" a virtual machine as a Salt minion.
Use of this module requires some configuration in cloud profile and provider files as described in the Getting Started with Vagrant documentation.
New in version 2018.3.0.
This function returns a list of images available for this cloud provider. vagrant will return a list of profiles. salt-cloud --list-images my-cloud-provider
This function returns a list of locations available.
CLI Example:
salt-cloud --list-locations my-cloud-provider
# \[ vagrant will always returns an empty dictionary \]
This function returns a list of sizes available for this cloud provider.
CLI Example:
salt-cloud --list-sizes my-cloud-provider
# \[ vagrant always returns an empty dictionary \]
Provision a single machine
CLI Example:
salt-cloud -p my_profile new_node_1
Destroy a node.
CLI Example:
salt-cloud --destroy mymachine
Return the first configured instance.
List the nodes which have salt-cloud:driver:vagrant grains.
CLI Example:
salt-cloud -Q
List the nodes, ask all 'vagrant' minions, return dict of grains (enhanced).
CLI Example:
salt-call -F
Return a list of the minions that have salt-cloud grains, with select fields.
Reboot a vagrant minion.
The name of the VM to reboot.
CLI Example:
salt-cloud -a reboot vm_name
List the a single node, return dict of grains.