diff --git a/inventory/group_vars/all b/inventory/group_vars/all index ccb6072d6c..fb38d59d3b 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -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 }} diff --git a/inventory/host_vars/osbs-aarch64-master01.stg.arm.fedoraproject.org b/inventory/host_vars/osbs-aarch64-master01.stg.arm.fedoraproject.org index 82fb9d69cc..8f91ef7638 100644 --- a/inventory/host_vars/osbs-aarch64-master01.stg.arm.fedoraproject.org +++ b/inventory/host_vars/osbs-aarch64-master01.stg.arm.fedoraproject.org @@ -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 }} " diff --git a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org index 29cf06386a..fcdc8201f2 100644 --- a/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org +++ b/roles/dhcp_server/files/dhcpd.conf.noc01.phx2.fedoraproject.org @@ -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 {