Skip to content

Instantly share code, notes, and snippets.

@purwandi
Last active February 13, 2023 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save purwandi/ce6bceb62b094f30bfc878cb3841956d to your computer and use it in GitHub Desktop.
Save purwandi/ce6bceb62b094f30bfc878cb3841956d to your computer and use it in GitHub Desktop.
{
"ignition": {
"version": "3.3.0"
},
"passwd": {
"users": [
{
"groups": [
"wheel",
"sudo",
"docker"
],
"name": "core",
"sshAuthorizedKeys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDsf30O+Fv4U9LbIE6yzWznnE8J7J0KamISYAXva84QF0KNTngNdh4J0nTR/5PxWl8De0blYxhVAwkkvxpTlfLpR0WVG35Shmo4JuPqaNA2hycycWpNA4U5NA8dY7UFE5lYPBhFFMrXfobR9jdiyfESgn10rRQREX8OetPli0mVTqx93boj5smMXIgXezMbj3Nq1Cjaj0jIuoRJtpBvSUGprFOK0oCS/HODKgRU6PXz3aIvLmBsL3/YtUb7Fjlp6biLMt2rpVo7SDqO7D4EgAUHcekId6cqhU+LH01AjuunSQzrZr1yvR9B0YTT0H9xlhjgp8FOXQovhlYVCLGnGD+uYiRhYfktVWI0SqaJLqFdQOEUQg3ysGSn3OeNiMbOFyUVRNqXt4/KurtsbsCF8llaElCgoX05WlPKHwMKmSNqac1MLFGQ7VNL11exj6Kf5i8p6yQzAeXtiOR8XIwRwwX02eSspUYKEkPFBxP2g8IXPMqUA41rQczIutaSxLzToxDTedwriIV/MR82iJ9A7+dZmsccFy5bu5tDIJ9prbzdOlODIXkw7TJx7hOdPItZhs5gja0RIjKx7KKIBxSAzLWn83IHYkR3WX/pCI3gyWJBKMkJBI0B1cQfTjSTs1uq5gCgHi1FPb1wylQ+aOtlL044RleIOOyjOe7M+CArbu+sBQ=="
],
"shell": "/bin/bash"
}
]
},
"storage": {
"files": [
{
"path": "/etc/http-proxy.env",
"contents": {
"compression": "gzip",
"source": "data:;base64,H4sIAAAAAAAC/8ooKSmILyjKr6i0VQKxrfT1wTy9vAK9/OSk5LzM4gK95PxcKwsDCwMlLpCSYhLU5+XDFGuhSOugcPUyU5S4AAEAAP//K2HzQYoAAAA="
},
"mode": 420
}
]
},
"systemd": {
"units": [
{
"contents": "[Unit]\nDescription=Post Installation\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nTimeoutStartSec=0\nEnvironmentFile=/etc/http-proxy.env\nExecStart=/bin/bash -c \"/bin/rpm-ostree install open-vm-tools nrpe \u0026\u0026 reboot || /bin/true\"\n\n[Install]\nWantedBy=multi-user.target\n",
"enabled": true,
"name": "postinstall.service"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment