Skip to content

Instantly share code, notes, and snippets.

@dmpe
Created November 29, 2020 17:06
Show Gist options
  • Save dmpe/1d1cf719fd20270e3540a6b95893769c to your computer and use it in GitHub Desktop.
Save dmpe/1d1cf719fd20270e3540a6b95893769c to your computer and use it in GitHub Desktop.
example.ign
{
"ignition": {
"version": "3.2.0"
},
"passwd": {
"users": [
{
"groups": [
"sudo",
"docker"
],
"name": "core",
"passwordHash": "$6$6loB6rYd019bbXKV$Cyj.QwunHET.lYeRjLH/1D9zwwDrxQyugFD0D.qimJJnbJNqnyi.5w9kblp8M2Fi4ydumdQXpffw.j.TFFtov/"
}
]
},
"storage": {
"files": [
{
"overwrite": true,
"path": "/etc/hostname",
"contents": {
"source": "data:,example-hostname"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment