diff --git a/inventory/group_vars/qadevel b/inventory/group_vars/qadevel index 185c6168fb..64b9d921c4 100644 --- a/inventory/group_vars/qadevel +++ b/inventory/group_vars/qadevel @@ -8,3 +8,13 @@ num_cpus: 2 # the host_vars/$hostname file fas_client_groups: sysadmin-qa + +# default virt install command is for a single nic-device +# define in another group file for more nics (see buildvm) +virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }} + --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} + --vcpus={{ num_cpus }} -l {{ ks_repo }} -x + "ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }} + gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 + hostname={{ inventory_hostname }}" + --network=bridge=br0 --autostart --noautoconsole diff --git a/inventory/group_vars/qadevel-stg b/inventory/group_vars/qadevel-stg index 82d6265c9c..9992ec58be 100644 --- a/inventory/group_vars/qadevel-stg +++ b/inventory/group_vars/qadevel-stg @@ -8,3 +8,13 @@ num_cpus: 1 # the host_vars/$hostname file fas_client_groups: sysadmin-qa + +# default virt install command is for a single nic-device +# define in another group file for more nics (see buildvm) +virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }} + --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} + --vcpus={{ num_cpus }} -l {{ ks_repo }} -x + "ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }} + gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 + hostname={{ inventory_hostname }}" + --network=bridge=br0 --autostart --noautoconsole