account for different virt-install var locations
This commit is contained in:
parent
bdbf4f8615
commit
95ab9037c2
2 changed files with 18 additions and 14 deletions
|
@ -34,7 +34,9 @@ num_cpus: 4
|
||||||
nrpe_procs_warn: 250
|
nrpe_procs_warn: 250
|
||||||
nrpe_procs_crit: 300
|
nrpe_procs_crit: 300
|
||||||
|
|
||||||
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
virt_install_bin: "/usr/sbin/virt-install"
|
||||||
|
virt_install_command: |
|
||||||
|
{{ virt_install_bin }} -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||||
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||||
|
|
|
@ -31,7 +31,9 @@ num_cpus: 4
|
||||||
nrpe_procs_warn: 250
|
nrpe_procs_warn: 250
|
||||||
nrpe_procs_crit: 300
|
nrpe_procs_crit: 300
|
||||||
|
|
||||||
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
virt_install_bin: "/usr/bin/virt-install"
|
||||||
|
virt_install_command: |
|
||||||
|
{{ virt_install_command }} -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||||
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue