add hpgen10 support and fix redfish path
[yaml_builds.git] / tools / j2 / serverrc.j2
index 873442a..d5dd32f 100644 (file)
@@ -31,7 +31,9 @@ SRV_OOB_USR={{yaml.ipmi_admin.username}}
 SRV_OOB_PWD={{yaml.ipmi_admin.password}}
 
 # mac address of server to be used during the build - not required for Dell servers
+{% if 'genesis.mac_address' in yaml %}
 SRV_MAC={{yaml.genesis.mac_address}}
+{% endif %}
 
 # name of network interface used during build when ipxe.efi is booted and when os is booted
 # ipxe numbers ports from 0-n in pci bus order.
@@ -47,8 +49,8 @@ SRV_BOOT_DEVICE={{yaml.disks[0].name}}
 SRV_CEPH_DEVICE={{yaml.disks[1].name}}
 
 # ipxe script to use - based on the os version and kernel to install
-# valid options are script-hwe-16.04.4-amd64.ipxe or script-16.04.4-amd64.ipxe
-SRV_BLD_SCRIPT=script-hwe-16.04.5-amd64.ipxe
+# valid options are script-hwe-16.04.6-amd64.ipxe or script-16.04.6-amd64.ipxe
+SRV_BLD_SCRIPT=script-hwe-16.04.6-amd64.ipxe
 
 # template xml file to set bios and raid configuration settings
 SRV_BIOS_TEMPLATE={{yaml.genesis.bios_template}}