Created
October 9, 2019 15:15
-
-
Save strigazi/50fd5da0d05129f5aee56e048e0376bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignition": { "version": "3.0.0" }, | |
"systemd": { | |
"units": [ | |
{ | |
"contents": "[Unit]\nDescription=Run heat-container-agent\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nExecStartPre=mkdir -p /var/lib/heat-container-agent\nExecStartPre=mkdir -p /var/run/heat-config\nExecStartPre=mkdir -p /var/run/os-collect-config\nExecStartPre=mkdir -p /opt/stack/os-config-refresh\nExecStartPre=mkdir -p /srv/magnum\nExecStartPre=-/bin/podman rm -f heat-container-agent\nExecStart=/bin/podman run \\\n --name heat-container-agent \\\n --privileged \\\n --volume /srv/magnum:/srv/magnum \\\n --volume /opt/stack/os-config-refresh:/opt/stack/os-config-refresh \\\n --volume /run/systemd:/run/systemd \\\n --volume /etc/:/etc/ \\\n --volume /var/lib:/var/lib \\\n --volume /var/run:/var/run \\\n --volume /var/log:/var/log \\\n --volume /tmp:/tmp \\\n --volume /dev:/dev \\\n --net=host \\\n docker.io/openstackmagnum/heat-container-agent:train-dev \\\n /usr/bin/start-heat-container-agent\n\nExecStop=/bin/podman stop heat-container-agent\n\n[Install]\nWantedBy=multi-user.target\n", | |
"enabled": true, | |
"name": "heat-container-agent.service" | |
} | |
] | |
}, | |
"storage": { | |
"files": [ | |
{ | |
"filesystem": "root", | |
"path": "/etc/hostname", | |
"mode": 420, | |
"contents": { "source": "data:,strigazi-coreos-004" } | |
}, | |
{ | |
"group": { | |
"name": "root" | |
}, | |
"mode": 416, | |
"filesystem": "root", | |
"path": "/var/lib/cloud/data/cfn-init-data", | |
"contents": { | |
"source": "data:,URL_ENCODED_JSON", | |
"verification": {} | |
}, | |
"user": { | |
"name": "root" | |
} | |
} | |
] | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "fedora", | |
"sshAuthorizedKeys": [ | |
"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAlKi4GIqp9BG9buHOziaL0TeW7bHrd+nVkhuW8BNQC5H4VPj2AJXq2d/2UrRRrdLFiQTEKuPFWhwYw3GzTYq8fZTMVjU7buIbqKx5xCa//k7htNIwNRj5ao/6B3sBubQUI+jeDmDil/sRgL9lfC77eqVFr5G7SGmKWBm+3rGYkPu6M1xFmeodpLeuwIhBj2rfiP+cU6nacnpIgp/FjVSilmEW94yuf1g7RwkeYlu6nEas1SHXI0Lf50lEwiY322prlrhzgOTnEo6cpFwZjM4L+ih1enLAhHRc5QsfArP3M2Jn9LEKy5t9BLgIHfEimTTM7eTjHm9t2hSoUTT6Ts/w0Q== [email protected]" | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment