Created
November 16, 2023 15:12
-
-
Save Quintenps/cd68f43d8e7ff62b581abbe2a0192791 to your computer and use it in GitHub Desktop.
fcos.ign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignition": { | |
"version": "3.3.0" | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "core", | |
"sshAuthorizedKeys": [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKWQCfxbUFAEI1sy2qP62U/pjVrPbOQr74d39qBUoE5", | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJNym1Gp4kmY2/Q0wV8T1v1+uQ+ZC+o2RL+C+OZLTWnj" | |
] | |
}, | |
{ | |
"groups": [ | |
"sudo", | |
"wheel", | |
"docker" | |
], | |
"name": "quinten", | |
"sshAuthorizedKeys": [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKWQCfxbUFAEI1sy2qP62U/pjVrPbOQr74d39qBUoE5", | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJNym1Gp4kmY2/Q0wV8T1v1+uQ+ZC+o2RL+C+OZLTWnj" | |
] | |
} | |
] | |
}, | |
"storage": { | |
"files": [ | |
{ | |
"path": "/etc/hostname", | |
"contents": { | |
"compression": "", | |
"source": "data:,artemis" | |
}, | |
"mode": 420 | |
}, | |
{ | |
"overwrite": true, | |
"path": "/etc/profile.d/zz-default-editor.sh", | |
"contents": { | |
"compression": "", | |
"source": "data:,export%20EDITOR%3Dvim%0A" | |
} | |
}, | |
{ | |
"path": "/etc/zincati/config.d/55-updates-strategy.toml", | |
"contents": { | |
"compression": "", | |
"source": "data:;base64,W3VwZGF0ZXNdCnN0cmF0ZWd5ID0gInBlcmlvZGljIgpbW3VwZGF0ZXMucGVyaW9kaWMud2luZG93XV0KZGF5cyA9IFsgIlNhdCIsICJTdW4iIF0Kc3RhcnRfdGltZSA9ICIwNDozMCIKbGVuZ3RoX21pbnV0ZXMgPSA2MAo=" | |
} | |
} | |
] | |
}, | |
"systemd": { | |
"units": [ | |
{ | |
"contents": "[Unit]\nDescription=Layer vim with rpm-ostree\nWants=network-online.target\nAfter=network-online.target\n# We run before `zincati.service` to avoid conflicting rpm-ostree\n# transactions.\nBefore=zincati.service\nConditionPathExists=!/var/lib/%N.stamp\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\n# `--allow-inactive` ensures that rpm-ostree does not return an error\n# if the package is already installed. This is useful if the package is\n# added to the root image in a future Fedora CoreOS release as it will\n# prevent the service from failing.\nExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive vim\nExecStart=/bin/touch /var/lib/%N.stamp\n\n[Install]\nWantedBy=multi-user.target\n", | |
"enabled": true, | |
"name": "rpm-ostree-install-vim.service" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment