mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 17:56:26 +00:00
Add OpenVPN reference
This commit is contained in:
21
examples/scripts/cloud-config-centos-atomic.txt
Normal file
21
examples/scripts/cloud-config-centos-atomic.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
#cloud-config
|
||||
write_files:
|
||||
- path: /etc/docker-latest/daemon.json
|
||||
content: |
|
||||
{
|
||||
"log-driver": "journald",
|
||||
"signature-verification": false,
|
||||
"experimental": true,
|
||||
"registry-mirrors": ["https://registry-mirror.funkypenguin.co.nz"]
|
||||
}
|
||||
# Add users to the system. Users are added after groups are added.
|
||||
users:
|
||||
- name: davidy
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
ssh-authorized-keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFkmE2zK7uE9q75nzQxa9tQPHiCgaEUkIDj9xdoPL911 davidy@funkypenguin.co.nz
|
||||
runcmd:
|
||||
- systemctl disable docker --now
|
||||
- systemctl enable docker-latest --now
|
||||
- sed -i '/DOCKERBINARY/s/^#//g' /etc/sysconfig/docker
|
||||
- /bin/atomic host upgrade
|
||||
Reference in New Issue
Block a user