butane and ignition file for fcos

main
Lennart Streveld 2026-10-22 14:39:10 +02:00
commit 229adc543d
2 changed files with 64 additions and 0 deletions

28
fcos.bu 100644
View File

@ -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;

36
fcos.ign 100644
View File

@ -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
}
]
}
}