Re-enable bios_template option to setup hardware for master
and worker nodes.
Signed-off-by: davidplunkett <dp7642@att.com>
Change-Id: I174fa3f64bbb8f0ea9815b94cc924d40eb2aa68a
generation: '10'
hw_version: '3'
bios_version: '2.8'
- bios_template:
+ bios_template: dell_r740_g14_uefi_base.xml.template
boot_template: dell_r740_g14_uefi_httpboot.xml.template
http_boot_device: NIC.Slot.2-1-1
device_aliases:
if type(nodes) is list:
for node in nodes:
newnode = dict( defaults.items() + node.items() )
+ if not "bios_template" in newnode or not newnode["bios_template"]:
+ print 'Skipping host {} because of missing or empty key [bios_template]'.format(newnode['name'])
+ continue
data = template.render(yaml=newnode)
rcfile = "server-config/"+newnode['name']+rcfile_suffix
print rcfile
EOF
# Update BIOS settings on master and worker nodes
-#python $YAML_BUILDS/scripts/update_bios_settings.py $SITE.yaml
+python $YAML_BUILDS/scripts/update_bios_settings.py $SITE.yaml
echo "#######################################"
echo "# $0 finished"