diff options
author | Raúl Benencia <rul@kalgan.cc> | 2019-01-09 07:03:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 07:03:53 -0800 |
commit | 70bb90ae82abb46c0434d806cfd79e25b7c0098d (patch) | |
tree | 0897c238912e95794d5a74345837ea4b352662c7 /configs/data-dir/cloud-config | |
parent | f08e7ef525d431223084184e5e234ed8acbecfc4 (diff) | |
parent | 5e8ae5156c72593eb24dd125db32e860f59be820 (diff) |
Merge pull request #3 from rul/doc
Tidy up example files and add an scdoc manpage
Diffstat (limited to 'configs/data-dir/cloud-config')
-rw-r--r-- | configs/data-dir/cloud-config/cloud-config-release.slc | 13 | ||||
-rw-r--r-- | configs/data-dir/cloud-config/users.slc | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/configs/data-dir/cloud-config/cloud-config-release.slc b/configs/data-dir/cloud-config/cloud-config-release.slc new file mode 100644 index 0000000..0f3de35 --- /dev/null +++ b/configs/data-dir/cloud-config/cloud-config-release.slc @@ -0,0 +1,13 @@ +{{define "cloudconfig-coreos" -}} +#cloud-config +{{template "cloudconfig-coreos-users"}} + +hostname:{{.hostname}} +coreos: + update: + reboot-strategy: off + units: + - name: update-engine.service + enable: true + command: start +{{end}} diff --git a/configs/data-dir/cloud-config/users.slc b/configs/data-dir/cloud-config/users.slc new file mode 100644 index 0000000..6ebdd3f --- /dev/null +++ b/configs/data-dir/cloud-config/users.slc @@ -0,0 +1,11 @@ +{{define "cloudconfig-coreos-users"}} +users: + - name: "shoelaces" + groups: + - "sudo" + - "docker" + ssh-authorized-keys: + - "ssh-rsa fake-key shoelaces@example.com" +ssh_authorized_keys: + - "ssh-rsa fake-key shoelaces@example.com" +{{end}} |