From 728a3aecda2b9e3fd7456e8cd3b54ae4134282c6 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Sat, 31 Jan 2015 00:33:13 +0000 Subject: [PATCH] trying updated virt-install command, removing duplication --- inventory/group_vars/qadevel-stg | 10 +++++----- inventory/host_vars/qadevel-stg.qa.fedoraproject.org | 11 +---------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/inventory/group_vars/qadevel-stg b/inventory/group_vars/qadevel-stg index 6a15c31b4b..4565604292 100644 --- a/inventory/group_vars/qadevel-stg +++ b/inventory/group_vars/qadevel-stg @@ -11,13 +11,13 @@ 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 }} +virt_install_command: /usr/bin/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 + "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 + hostname={{ inventory_hostname }} nameserver={{ dns }} + ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none" + --network=bridge=br0,model=virtio --autostart --noautoconsole sshd_config: ssh/sshd_config.qadevel diff --git a/inventory/host_vars/qadevel-stg.qa.fedoraproject.org b/inventory/host_vars/qadevel-stg.qa.fedoraproject.org index c9df848383..d285b30881 100644 --- a/inventory/host_vars/qadevel-stg.qa.fedoraproject.org +++ b/inventory/host_vars/qadevel-stg.qa.fedoraproject.org @@ -10,18 +10,9 @@ vmhost: virthost-comm03.qa.fedoraproject.org datacenter: phx2 fas_client_groups: sysadmin-qa,sysadmin-main -# default virt install command is for a single nic-device -# define in another group file for more nics (see buildvm) -virt_install_command: /bin/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 public_hostname: qadevel-stg.qa.fedoraproject.org -buildmaster: 10.5.124.181 +buildmaster: 10.5.124.230 buildslaves: - qadevel-stg