{
"ignition": {
"version": "2.0.0",
"config": {}
},
"storage": {},
"systemd": {
"units": [
{
"name": "docker.service",
"enable": true,
"dropins": [
{
"name": "10-dockeropts.conf",
"contents": "[Service]\nEnvironment=\"DOCKER_OPTS=--log-opt max-size=50m --log-opt max-file=3\"\n"
}
]
}
]
},
"networkd": {},
"passwd": {
"users": [
{
"name": "core",
"sshAuthorizedKeys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDuc1QbcMF+Ldmp3iUNR2okabiRYQBzO/W7laejUfrxDEQ9GUIWuC1H7EEQXeEmxG2a6laNj2XS23CPFl26aLNifC6h+4bk0zvjxgP8SMaUDw9QpNUjtyq4r66HoKgSA2AWaKdpjnT0bzSt05WmN5D8LQ93Lrri0x0HZo43pe3H1z7480euIL0P9DBrvD73uYJpdQaV5JP3N3Z8z1JaFiTUZD+5kHGyWCG90UJQ0aPKYwVbCiVFACLh4unQLopIqGvuIKYcyLz82/hxhVVzmHD6Q5uPZlnXOIplBlCWtHOolwNDIdIBryD0BTMTmQ4+jMdZxWXiges4c6dAIqtytRiL\n}"
]
}
]
}
}
If I put this configuration in the user_data field, I can still log in using the SSH key provided during the VM creation but I get the following message
Failed Units: 1
oem-cloudinit.serviceAnd my ignition isn't working as I can't find any docker config file corresponding to my Ignition...
{
"ignition": {
"version": "2.0.0",
"config": {}
},
"storage": {},
"systemd": {
"units": [
{
"name": "docker.service",
"enable": true,
"dropins": [
{
"name": "10-dockeropts.conf",
"contents": "[Service]\nEnvironment=\"DOCKER_OPTS=--log-opt max-size=50m --log-opt max-file=3\"\n"
}
]
}
]
},
"networkd": {},
"passwd": {123}
}
I know that Ignition support in openstack is beta but lots of interesting project like tectonic are using ignition and target openstack clouds...
Does someone already make it works ?
Regards
VG