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

Updated doc structure (#9)

This commit is contained in:
David Young
2017-08-04 22:34:41 +12:00
committed by GitHub
parent 05a146f11c
commit e9d0bb822e
89 changed files with 25 additions and 10363 deletions

View 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

View File

@@ -0,0 +1,10 @@
#!/bin/bash
(
echo o # Create a new empty DOS partition table
echo n # Add a new partition
echo p # Primary partition
echo 1 # Partition number
echo # First sector (Accept default: 1)
echo # Last sector (Accept default: varies)
echo w # Write changes
) | sudo fdisk /dev/vdb