Set hostname in ignition config

This commit is contained in:
Khue Doan 2021-06-13 11:28:37 +07:00
parent 4b1c924cd7
commit bf518e969f

View File

@ -4,4 +4,12 @@ passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbqNJWKwLmwkeHQVUVT/pEis/wvRqRSKG9Dpl166NGp
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbqNJWKwLmwkeHQVUVT/pEis/wvRqRSKG9Dpl166NGp # TODO template
storage:
# Set hostname
files:
- path: /etc/hostname
mode: 0644
contents:
inline: metal3