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 a88bd91427
commit 601ac9f278
No known key found for this signature in database
GPG key ID: 949F43F6E6C11780

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