diff --git a/ztp/scripts/siteconfig.sample.yml b/ztp/scripts/siteconfig.sample.yml index 70fefdb4..6ee6f974 100644 --- a/ztp/scripts/siteconfig.sample.yml +++ b/ztp/scripts/siteconfig.sample.yml @@ -124,10 +124,8 @@ spec: name: {{ cluster }}-ztp-{{ spoke_name }}-bmc-secret-{{ num }} bootMACAddress: {{ mac }} bootMode: {{ 'UEFI' if ztp_uefi else 'legacy' }} - {% if 'disk' in node %} rootDeviceHints: - deviceName: /dev/{{ node.disk | basename }} - {% endif %} + deviceName: /dev/{{ node.disk|default('sda')|string|basename }} {% if 'ip' in node %} nodeNetwork: interfaces: