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,11 +34,13 @@ 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"
|
||||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
virt_install_command: |
|
||||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
{{ virt_install_bin }} -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||||
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||||
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||||
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||||
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
||||||
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
||||||
|
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
||||||
|
|
||||||
|
|
|
@ -31,13 +31,15 @@ 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"
|
||||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
virt_install_command: |
|
||||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
{{ virt_install_command }} -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||||
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||||
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||||
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||||
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
||||||
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
||||||
|
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# taskotron master
|
# taskotron master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue