X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2Fj2%2Fserverrc.j2;h=d5dd32fafe03b6ea780c188d4f7eefe4c8d618d9;hb=refs%2Fchanges%2F77%2F477%2F1;hp=873442abfad26707a95405bd77181a9e4db805ae;hpb=8e1d108f64f06572790ee4db71bc1d9dd32e82da;p=yaml_builds.git diff --git a/tools/j2/serverrc.j2 b/tools/j2/serverrc.j2 index 873442a..d5dd32f 100644 --- a/tools/j2/serverrc.j2 +++ b/tools/j2/serverrc.j2 @@ -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}}