Try with no quotes

This commit is contained in:
Kevin Fenzi 2016-02-10 00:37:49 +00:00
parent fc4311d14a
commit 0e1762f67b

View file

@ -52,9 +52,9 @@ main_bridge: br0
nfs_bridge: br1
virt_install_command_one_nic: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size|defaut('mem_size * 5') }} --memballoon virtio
--memory={{ mem_size }},maxmemory={{ max_mem_size|defaut(mem_size * 5) }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default('num_cpus * 5') }} -l {{ ks_repo }} -x
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default(num_cpus * 5) }} -l {{ ks_repo }} -x
'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none'
@ -62,9 +62,9 @@ virt_install_command_one_nic: virt-install -n {{ inventory_hostname }}
--autostart --noautoconsole --watchdog default
virt_install_command_two_nic: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size|default('mem_size * 5') }} --memballoon virtio
--memory={{ mem_size }},maxmemory={{ max_mem_size|default(mem_size * 5) }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default('num_cpus * 5') }} -l {{ ks_repo }} -x
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default(num_cpus * 5) }} -l {{ ks_repo }} -x
'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
@ -73,9 +73,9 @@ virt_install_command_two_nic: virt-install -n {{ inventory_hostname }}
--autostart --noautoconsole --watchdog default
virt_install_command_rhel6: /usr/sbin/virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size|default('mem_size * 5') }}
--memory={{ mem_size }},maxmemory={{ max_mem_size|default(mem_size * 5) }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default('num_cpus * 5') }} -l {{ ks_repo }} -x
--vcpus={{ num_cpus }},maxvcpus={{ max_mem_size|default(num_cpus * 5) }} -l {{ ks_repo }} -x
"ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }}"