commit 229adc543d913c1c8455d0d56c5a43b99b24d3b0 Author: Lennart Streveld Date: Thu Oct 22 14:39:10 2026 +0200 butane and ignition file for fcos diff --git a/fcos.bu b/fcos.bu new file mode 100644 index 0000000..7564f81 --- /dev/null +++ b/fcos.bu @@ -0,0 +1,28 @@ +variant: fcos +version: 1.6.0 +passwd: + users: + - name: core + ssh_authorized_keys: + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfl+3bQe83/VvQg2HubktvUeoxkyCmiLt02fTCYGZAt lennart@hvs + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBBqniVt3c0N+eURqw7aaDExLCpNYJZEzGyV8L2YfVpS anton@hvs +storage: + files: + - path: /etc/hostname + mode: 0644 + contents: + inline: fcos-1 + - path: /etc/NetworkManager/system-connections/ens18.nmconnection + mode: 0600 + contents: + inline: | + [connection] + id=ens18 + type=ethernet + interface-name=ens18 + + [ipv4] + method=manual + addresses=10.0.104.20/16 + gateway=10.0.0.1 + dns=1.1.1.1;9.9.9.9; \ No newline at end of file diff --git a/fcos.ign b/fcos.ign new file mode 100644 index 0000000..b7eb4ac --- /dev/null +++ b/fcos.ign @@ -0,0 +1,36 @@ +{ + "ignition": { + "version": "3.5.0" + }, + "passwd": { + "users": [ + { + "name": "core", + "sshAuthorizedKeys": [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfl+3bQe83/VvQg2HubktvUeoxkyCmiLt02fTCYGZAt lennart@hvs", + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBBqniVt3c0N+eURqw7aaDExLCpNYJZEzGyV8L2YfVpS anton@hvs" + ] + } + ] + }, + "storage": { + "files": [ + { + "path": "/etc/hostname", + "contents": { + "compression": "", + "source": "data:,fcos-1" + }, + "mode": 420 + }, + { + "path": "/etc/NetworkManager/system-connections/ens18.nmconnection", + "contents": { + "compression": "", + "source": "data:,%5Bconnection%5D%0Aid%3Dens18%0Atype%3Dethernet%0Ainterface-name%3Dens18%0A%0A%5Bipv4%5D%0Amethod%3Dmanual%0Aaddresses%3D10.0.104.20%2F16%0Agateway%3D10.0.0.1%0Adns%3D1.1.1.1%3B9.9.9.9%3B" + }, + "mode": 384 + } + ] + } +}