This disables update-engine and locksmithd with ignition instead of cloud-init so that they're really totally 100% disabled. Pretty much every way of disabling them with cloud-init is mildly racy. Fixes #31633
30 lines
575 B
JSON
30 lines
575 B
JSON
{
|
|
"ignition":{"version": "2.0.0"},
|
|
"systemd": {
|
|
"units": [{
|
|
"name": "update-engine.service",
|
|
"mask": true
|
|
},
|
|
{
|
|
"name": "locksmithd.service",
|
|
"mask": true
|
|
},
|
|
{
|
|
"name": "docker.service",
|
|
"dropins": [{
|
|
"name": "10-disable-systemd-cgroup-driver.conf",
|
|
"contents": "[Service]\nCPUAccounting=yes\nMemoryAccounting=yes\nEnvironment=\"DOCKER_CGROUPS=\""
|
|
}]
|
|
}]
|
|
},
|
|
"passwd": {
|
|
"users": [{
|
|
"name": "jenkins",
|
|
"create": {
|
|
"groups": ["docker", "sudo"]
|
|
}
|
|
}]
|
|
}
|
|
}
|
|
|