Enable new systemd units

Modify cloud-config.yml to enable new systemd units after they are copied onto the system

Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
Scott Lowe 2017-03-29 23:00:35 -06:00
parent 6c1f156dbc
commit a5d3926f44

View file

@ -55,6 +55,9 @@ write_files:
permissions: '0644'
runcmd:
- systemctl daemon-reload
- systemctl enable docker.service
- systemctl enable docker.socket
- systemctl enable docker-tcp.socket
- systemctl stop docker.service
- systemctl start docker.socket
- systemctl start docker-tcp.socket