37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
{
|
|
"ignition": {
|
|
"version": "3.4.0"
|
|
},
|
|
"passwd": {
|
|
"users": [
|
|
{
|
|
"name": "core",
|
|
"sshAuthorizedKeys": [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwojmm5GUDQTt/ic1w3yf5c0fyiPqhy8D9Y4qMVljEA othrayte@gmail.com"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"files": [
|
|
{
|
|
"path": "/etc/yum.repos.d/hashicorp.repo",
|
|
"contents": {
|
|
"compression": "gzip",
|
|
"source": "data:;base64,H4sIAAAAAAAC/7SPPcvCQBCE+/sVKdIm+76tkN5eO7HYXMY7ydexuwr+e4kfZ2EjgtXOMvAMzy6yxqOfJe3dxCOa9fMvNsbtgKIqypYVLD66JZxkaKJZ0hWRpLEWDGCF1plU+3mkA7pZmMpHfYZQ5pDe0A7Tcrrm34UUfITv77HH5ZOJkIJzL4HKoPZmsYXaTxyWtWzw97XBNQAA//9Dsu7agQEAAA=="
|
|
},
|
|
"mode": 201
|
|
}
|
|
]
|
|
},
|
|
"systemd": {
|
|
"units": [
|
|
{
|
|
"contents": "[Unit]\nDescription=Layer nomad \u0026 consul 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 nomad consul\nExecStart=/bin/touch /var/lib/%N.stamp\n\n[Install]\nWantedBy=multi-user.target",
|
|
"enabled": true,
|
|
"name": "rpm-ostree-install-hashistack.service"
|
|
}
|
|
]
|
|
}
|
|
}
|