Use colon instead of hyphen for MAC address to fit GRUB's net_default_mac

This commit is contained in:
Khue Doan 2021-06-13 13:27:01 +07:00
parent c276ac9df7
commit 852f45d5ac

View File

@ -4,10 +4,10 @@ controller:
metal:
hosts:
metal0: {ansible_host: 192.168.1.110, mac: 00-23-24-d1-f4-d6}
metal1: {ansible_host: 192.168.1.111, mac: 00-23-24-e7-04-60}
metal2: {ansible_host: 192.168.1.112, mac: 00-23-24-d1-f5-69}
metal3: {ansible_host: 192.168.1.113, mac: 00-23-24-d1-f3-f0}
metal0: {ansible_host: 192.168.1.110, mac: '00:23:24:d1:f4:d6'}
metal1: {ansible_host: 192.168.1.111, mac: '00:23:24:e7:04:60'}
metal2: {ansible_host: 192.168.1.112, mac: '00:23:24:d1:f5:69'}
metal3: {ansible_host: 192.168.1.113, mac: '00:23:24:d1:f3:f0'}
vars:
ansible_user: root
ansible_ssh_private_key_file: ~/.ssh/id_ed25519