New in version 2014.7.0.
The Proxmox cloud module is used to control access to cloud providers using the Proxmox system (KVM / OpenVZ).
my-proxmox-config:
# Proxmox account information
user: myuser@pam or myuser@pve
password: mypassword
url: hypervisor.domain.tld
provider: proxmox
maintainer: | Frank Klaassen <frank@cloudright.nl> |
---|---|
maturity: | new |
depends: | requests >= 2.2.1 |
depends: | IPy >= 0.81 |
Return a list of the images that are on the provider
CLI Example:
salt-cloud --list-images my-proxmox-config
Return a list of the hypervisors (nodes) which this Proxmox PVE machine manages
CLI Example:
salt-cloud --list-locations my-proxmox-config
Create a single VM from a data dict
CLI Example:
salt-cloud -p proxmox-ubuntu vmhostname
Build and submit the requestdata to create a new node
Destroy a node.
CLI Example:
salt-cloud --destroy mymachine
Return the first configured instance.
Retrieve all hypervisors (nodes) available on this environment CLI Example:
salt-cloud -f get_resources_nodes my-proxmox-config
Retrieve all VMs available on this environment
CLI Example:
salt-cloud -f get_resources_vms my-proxmox-config
Get the status for a VM, either via the ID or the hostname
Get VM configuration
Return a list of the VMs that are managed by the provider
CLI Example:
salt-cloud -Q my-proxmox-config
Return a list of the VMs that are on the provider
CLI Example:
salt-cloud -F my-proxmox-config
Return a list of the VMs that are on the provider, with select fields
CLI Example:
salt-cloud -S my-proxmox-config
Execute the HTTP request to the API
Return the script deployment object
Convenience function for setting VM status
Show the details from Proxmox concerning an instance
Shutdown a node via ACPI.
CLI Example:
salt-cloud -a shutdown mymachine
Start a node.
CLI Example:
salt-cloud -a start mymachine
Stop a node ("pulling the plug").
CLI Example:
salt-cloud -a stop mymachine
Wait until a the vm has been created successfully
Wait until a specific state has been reached on a node
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.1.13
Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.
22.5.16. salt.cloud.clouds.parallels
22.5.18. salt.cloud.clouds.rackspace
Upcoming SaltStack events, webinars and local meet ups and user groups.