From 58cd7a6fe7ee2cb79c68a2b0eba677e3b6d190e8 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 29 May 2013 21:25:01 +0000 Subject: [PATCH] add mirrorlist inventory entries --- inventory/group_vars/mirrorlist | 17 +++++++++++++++++ .../mirrorlist-osuosol.fedoraproject.org | 7 +++++++ inventory/inventory | 3 +++ 3 files changed, 27 insertions(+) create mode 100644 inventory/group_vars/mirrorlist create mode 100644 inventory/host_vars/mirrorlist-osuosol.fedoraproject.org diff --git a/inventory/group_vars/mirrorlist b/inventory/group_vars/mirrorlist new file mode 100644 index 0000000000..274f1c0a05 --- /dev/null +++ b/inventory/group_vars/mirrorlist @@ -0,0 +1,17 @@ +--- +# common items for the releng-* boxes +lvm_size: 20000 +mem_size: 8192 +num_cpus: 2 +ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-6 +ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL6-x86_64/ +volgroup: /dev/vg_host0 +install_command: /usr/sbin/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 --autostart --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/mirrorlist-osuosol.fedoraproject.org b/inventory/host_vars/mirrorlist-osuosol.fedoraproject.org new file mode 100644 index 0000000000..1f5a74ef4f --- /dev/null +++ b/inventory/host_vars/mirrorlist-osuosol.fedoraproject.org @@ -0,0 +1,7 @@ +nm: 255.255.255.192 +gw: 140.211.169.193 +dns: 140.211.166.130 +ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-6 +ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL6-x86_64/ +volgroup: /dev/VolGroup00 +eth0_ip: 140.211.169.228 diff --git a/inventory/inventory b/inventory/inventory index 55ee09d64a..34d326a80c 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -248,6 +248,9 @@ noc02.fedoraproject.org memcached03.phx2.fedoraproject.org memcached04.phx2.fedoraproject.org +[mirrorlist] +mirrorlist-osuosl.fedoraproject.org + [openid] openid01.phx2.fedoraproject.org openid02.phx2.fedoraproject.org