1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Added to persistent storage docs

This commit is contained in:
David Young
2017-07-17 22:39:48 +12:00
parent 7377f522b0
commit 307227ca54
9 changed files with 97 additions and 7 deletions

16
examples/cloud-config.txt Normal file
View File

@@ -0,0 +1,16 @@
#cloud-config
ssh_authorized_keys:
- ssh-rsa ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFkmE2zK7uE9q75nzQxa9tQPHiCgaEUkIDj9xdoPL911 davidy@funkypenguin.co.nz
write_files:
- path: /etc/docker-latest/daemon.json
content: |
{
"log-driver": "journald",
"signature-verification": false,
"experimental": true
}
runcmd:
- systemctl disable docker --now
- systemctl enable docker-latest --now
- sed -i '/DOCKERBINARY/s/^#//g' /etc/sysconfig/docker
- /bin/atomic host upgrade