This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create(vm_): | |
''' | |
Create a VM in oVirt | |
The configuration for this function is read from the profile settings. | |
.. code-block:: bash | |
salt-cloud -p some_profile oVirt-VM-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FreeBSD-2C-2G: | |
provider: ovirt-config | |
user: root | |
ssh_keyfile: /etc/ssl/pki/salt/templates/id_rsa | |
template: {{ pillar['stage']|lower|title }}-FreeBSD | |
memory: 2147483648 | |
cores: 2 | |
minion: | |
master: {{ grains['fqdn'] }} | |
mac: "af:af:fe:fe:00" |