Use MAC address to get ignition config

This commit is contained in:
Khue Doan 2021-06-13 13:25:32 +07:00
parent ef7e613aee
commit c276ac9df7

View File

@ -6,6 +6,6 @@ menuentry '{{ os_name }} (Live)' {
ignition.platform.id=metal \
coreos.live.rootfs_url=http://{{ ansible_default_ipv4.address }}/{{ os_name }}/images/pxeboot/rootfs.img \
coreos.inst.install_dev=/dev/{{ disk }} \
coreos.inst.ignition_url=http://{{ ansible_default_ipv4.address }}/ignition/ignition.json
coreos.inst.ignition_url=http://{{ ansible_default_ipv4.address }}/ignition/${net_default_mac}.json
initrd initrd.img ignition.img
}