From bb460b8ff0b25fbaca4cce1202b7fd2669baf2c2 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Mon, 21 Jul 2014 22:36:02 +0000 Subject: [PATCH] use single quotes around virt-install command in an attempt to keep ansible from parsing it --- inventory/group_vars/all | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index 6a21827d6c..f224a3cf24 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -34,14 +34,14 @@ lvm_size: 20000 # gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 # hostname={{ inventory_hostname }}" # --network=bridge=br0 --autostart --noautoconsole -virt_install_command: "virt-install -n {{ inventory_hostname }} -r {{ mem_size }} +virt_install_command: 'virt-install -n {{ inventory_hostname }} -r {{ mem_size }} --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} --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 hostname={{ inventory_hostname }} nameserver={{ dns }} - ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none' + ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none" --network=bridge=br0,model=virtio - --autostart --noautoconsole" + --autostart --noautoconsole' # By default, nodes get no fedmsg certs. They need to declare them explicitly. fedmsg_certs: []