mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
498a612078
Conflicts: doc/topics/cloud/linode.rst doc/topics/cloud/misc.rst doc/topics/cloud/parallels.rst doc/topics/cloud/proxmox.rst Conflicts: doc/topics/development/architecture.rst doc/topics/development/translating.rst
33 lines
812 B
ReStructuredText
33 lines
812 B
ReStructuredText
=============
|
|
Cloud Actions
|
|
=============
|
|
|
|
Once a VM has been created, there are a number of actions that can be performed
|
|
on it. The "reboot" action can be used across all providers, but all other
|
|
actions are specific to the cloud provider. In order to perform an action, you
|
|
may specify it from the command line, including the name(s) of the VM to
|
|
perform the action on:
|
|
|
|
.. code-block:: bash
|
|
|
|
$ salt-cloud -a reboot vm_name
|
|
$ salt-cloud -a reboot vm1 vm2 vm2
|
|
|
|
Or you may specify a map which includes all VMs to perform the action on:
|
|
|
|
.. code-block:: bash
|
|
|
|
$ salt-cloud -a reboot -m /path/to/mapfile
|
|
|
|
The following is a list of actions currently supported by salt-cloud:
|
|
|
|
.. code-block:: yaml
|
|
|
|
all providers:
|
|
- reboot
|
|
ec2:
|
|
- start
|
|
- stop
|
|
joyent:
|
|
- stop
|