From 8764d6afa2781a3db62f95aaa25c94bab2cd89c3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 22 Jun 2014 22:46:23 +0000 Subject: [PATCH] virt-install is in path and in a different place in rhel7 --- inventory/group_vars/all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index fd652119aa..297d8f2a5b 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -34,7 +34,7 @@ lvm_size: 20000 # gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 # hostname={{ inventory_hostname }}" # --network=bridge=br0 --autostart --noautoconsole -virt_install_command: /usr/sbin/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