diff --git a/inventory/group_vars/buildvm b/inventory/group_vars/buildvm index b2d31f4045..092ba3fa69 100644 --- a/inventory/group_vars/buildvm +++ b/inventory/group_vars/buildvm @@ -1,6 +1,6 @@ --- # common items for the buildvm-* koji builders -lvm_size: 150G +lvm_size: 150000 mem_size: 6144 num_cpus: 5 ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-el-6 @@ -9,5 +9,12 @@ nm: 255.255.255.0 gw: 10.5.125.254 dns: 10.5.126.21 volgroup: /dev/vg_host01 +install_command: /usr/bin/virt-install -n ${inventory_hostname} -r ${mem_size} \ + --disk ${volgroup}/${inventory_hostname_short} \ + --vcpus=${num_cpus} -l ${ks_repo} -x \ + "ksdevice=eth0 ks=${ks_url} ip=${eth0_ip} netmask=${nm} \ + gateway=${gw} dns=${dns} console=tty0 console=ttyS0" \ + --network=bridge=br0 --network=bridge=br1 --vnc --noautoconsole + # for systems that do not match the above - specify the same parameter in # the host_vars/$hostname file diff --git a/inventory/host_vars/buildvm-01.phx2.fedoraproject.org b/inventory/host_vars/buildvm-01.phx2.fedoraproject.org index e21b46516c..3699298e78 100644 --- a/inventory/host_vars/buildvm-01.phx2.fedoraproject.org +++ b/inventory/host_vars/buildvm-01.phx2.fedoraproject.org @@ -1,3 +1,3 @@ --- vmhost: buildvmhost-01.phx2.fedoraproject.org - +eth0_ip: 10.5.125.98 diff --git a/inventory/host_vars/buildvm-04.phx2.fedoraproject.org b/inventory/host_vars/buildvm-04.phx2.fedoraproject.org index 7a79d1e8c6..659e9689e3 100644 --- a/inventory/host_vars/buildvm-04.phx2.fedoraproject.org +++ b/inventory/host_vars/buildvm-04.phx2.fedoraproject.org @@ -1,3 +1,4 @@ --- vmhost: buildvmhost-02.phx2.fedoraproject.org +eth0_ip: 10.5.125.101