if this works, then I dont know.. moonshot is weird

This commit is contained in:
Stephen Smoogen 2018-09-13 17:58:53 +00:00
parent b70881a982
commit c3b75d488d
3 changed files with 30 additions and 2 deletions

View file

@ -107,6 +107,16 @@ virt_install_command_aarch64_one_nic: virt-install -n {{ inventory_hostname }}
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--autostart --noautoconsole --rng /dev/random
virt_install_command_aarch64_pxe: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} --pxe -x
'inst.zram=0 net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyAMA0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none'
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--autostart --noautoconsole --rng /dev/random
virt_install_command_aarch64_two_nic: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}

View file

@ -2,10 +2,11 @@
nm: 255.255.255.0
gw: 10.5.129.254
dns: 10.5.126.21
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7-aarch64-osbs
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-aarch64/
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-28-aarch64-osbs
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/28/Server/aarch64/os/
volgroup: /dev/vg_Server
eth0_ip: 10.5.129.30
mac_address: 52:54:00:e0:ac:42
vmhost: aarch64-c23n1.arm.fedoraproject.org
datacenter: phx2
host_group: osbs-aarch64-masters-stg
@ -17,3 +18,12 @@ lvm_size: 120g
mem_size: 16384
max_mem_size: 16384
num_cpus: 4
install_noc: noc01.phx2.fedoraproject.org
install_mac: 52:54:00:e0:ac:42
# Inside this, expect /vmlinuz and /initrd.img
install_binpath: /uefi/aarch64/f28
install_ks: http://10.5.126.23/repo/rhel/ks/kvm-fedora-28-aarch64-osbs
install_repo: http://10.5.126.23/pub/fedora/linux/releases/28/Server/aarch64/os/
virt_install_command: " {{ virt_install_command_aarch64_pxe }} "

View file

@ -722,6 +722,14 @@ subnet 10.5.129.0 netmask 255.255.255.0 {
filename "/uefi/grubaa64.efi";
}
host osbs-aarch64-master01-stg {
hardware ethernet 52:54:00:e0:ac:42;
fixed-address 10.5.129.30;
next-server 10.5.126.41;
option host-name "osbs-aarch64-master01.stg.fedoraproject.org";
filename "/uefi/grubaa64.efi";
}
}
subnet 10.5.130.0 netmask 255.255.255.0 {