stop trying to be fancy with the virt-install commands

This commit is contained in:
Tim Flink 2015-09-30 22:09:57 +00:00
parent 95ab9037c2
commit f34d329d73
2 changed files with 14 additions and 19 deletions

View file

@ -26,7 +26,6 @@ datacenter: phx2
############################################################ ############################################################
fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice
lvm_size: 50000 lvm_size: 50000
mem_size: 4096 mem_size: 4096
num_cpus: 4 num_cpus: 4
@ -34,13 +33,11 @@ num_cpus: 4
nrpe_procs_warn: 250 nrpe_procs_warn: 250
nrpe_procs_crit: 300 nrpe_procs_crit: 300
virt_install_bin: "/usr/sbin/virt-install" virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
virt_install_command: | --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
{{ virt_install_bin }} -n {{ inventory_hostname }} -r {{ mem_size }} --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x hostname={{ inventory_hostname }} nameserver={{ dns }}
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
hostname={{ inventory_hostname }} nameserver={{ dns }} --network=bridge=br0,model=virtio --autostart --noautoconsole
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
--network=bridge=br0,model=virtio --autostart --noautoconsole

View file

@ -31,15 +31,13 @@ num_cpus: 4
nrpe_procs_warn: 250 nrpe_procs_warn: 250
nrpe_procs_crit: 300 nrpe_procs_crit: 300
virt_install_bin: "/usr/bin/virt-install" virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
virt_install_command: | --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
{{ virt_install_command }} -n {{ inventory_hostname }} -r {{ mem_size }} --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x hostname={{ inventory_hostname }} nameserver={{ dns }}
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
hostname={{ inventory_hostname }} nameserver={{ dns }} --network=bridge=br0,model=virtio --autostart --noautoconsole
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
--network=bridge=br0,model=virtio --autostart --noautoconsole
############################################################ ############################################################
# taskotron master # taskotron master