Last active
June 28, 2022 00:19
-
-
Save wildekek/a535b2dbb30d29dabb9947c56b9d3600 to your computer and use it in GitHub Desktop.
coreos ignition file
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.0.0" | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"groups": [ | |
"sudo", | |
"docker" | |
], | |
"name": "willem", | |
"passwordHash": "$y$j9T$YROLqV.ogJqf7JCWkoAyG0$F6PFg7D6r80nGcZAxlZER5g2Vxcvefj8fmizIexJEy6", | |
"sshAuthorizedKeys": [ | |
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDCUopPXPW4NrxQzkRMr3b2/IP2ruoDKa4P2rJjkD071AMOU6AjkVb8Ssqqt+uWQPRvnelNMaZzXRCqOWiQC/E+1t24f0FHiIOuTuXKP5scW1G3y2ferw4CVpv15Oj5zvmOSaH35jOgRX2k/xi7QVq9ZNJAIuficc8POsq++7Awa7lhgLRUaWV0VxzIzKN8XYg4A9yhAHg2phDRvPeNqdBgR0doE/bBiRr/J/nI+866G9gUN6VmZhisK4bMRVgh+s2PJwQM0Bokxa6CdavPuusmG8QlmAwohvQLowzlHkSJc11Q5AI2MK2+GoBYmT4WLJuUS9bmJFnFwuAbGthpvk/ZgUgbweK2daquvbFNOda+oTGcyhkldE4i/cpKrsJGKWWDdhMNBCjmPkU3nTYmGP/giroCP6uhRwfXkUUzgplZQ4YUhfzr5xevoc1bt7fn6PnOuYUNX8Q30W5v0X7/lgCjM3z+uXbTs1gXXAVlbHY9WETEMv14JkUpfL+JolTD5aEX/JseUS/QoKHriRk3XSdYesCF964SBe5dQMMmunqzyJWc5G45IDYa+GGYBFsEahmFkDPFG3ITiQlzzSX5ykbtodvubFmF/2+eBsHsQtlfG9eIXi6M+jDi2dJ1mJ8o1sHoVUKw/jiwko2ncKFTNU/kOUadnI4YfD/iaI4kiAPekQ== willem@vooijs.eu" | |
] | |
} | |
] | |
}, | |
"storage": { | |
"files": [ | |
{ | |
"contents": { | |
"source": "data:,CoreOS%0A" | |
}, | |
"mode": 420, | |
"path": "/etc/hostname" | |
}, | |
{ | |
"contents": { | |
"source": "data:,%23%20Tell%20systemd%20to%20not%20use%20a%20pager%20when%20printing%20information%0Aexport%20SYSTEMD_PAGER%3Dcat%0A" | |
}, | |
"mode": 420, | |
"path": "/etc/profile.d/systemd-pager.sh" | |
}, | |
{ | |
"contents": { | |
"source": "data:,%23%20Raise%20console%20message%20logging%20level%20from%20DEBUG%20(7)%20to%20WARNING%20(4)%0A%23%20to%20hide%20audit%20messages%20from%20the%20interactive%20console%0Akernel.printk%3D4%0A" | |
}, | |
"mode": 420, | |
"path": "/etc/sysctl.d/20-silence-audit.conf" | |
} | |
] | |
}, | |
"systemd": { | |
"units": [ | |
{ | |
"enabled": true, | |
"name": "docker.service" | |
}, | |
{ | |
"enabled": true, | |
"name": "containerd.service" | |
}, | |
{ | |
"dropins": [ | |
{ | |
"contents": "[Service]\n# Override Execstart in main unit\nExecStart=\n# Add new Execstart with `-` prefix to ignore failure\nExecStart=-/usr/sbin/agetty --autologin admin --noclear %I $TERM\nTTYVTDisallocate=no\n", | |
"name": "autologin-core.conf" | |
} | |
], | |
"name": "serial-getty@ttyS0.service" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment