35 lines
811 B
YAML
35 lines
811 B
YAML
#cloud-config
|
|
|
|
hostname: k8s01
|
|
manage_etc_hosts: true
|
|
apt_preserve_sources_list: true
|
|
|
|
users:
|
|
- name: salfter # use any user name you like
|
|
primary-group: users
|
|
shell: /bin/bash
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
groups: users,docker,adm,dialout,audio,plugdev,netdev,video
|
|
ssh-import-id: None
|
|
lock_passwd: true
|
|
ssh-authorized-keys:
|
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBJQgbySEtaT8SqZ37tT7S4Z/gZeGH+V5vGZ9i9ELpmU salfter@janeway
|
|
|
|
package_update: true
|
|
package_upgrade: true
|
|
package_reboot_if_required: true
|
|
packages:
|
|
- ntp
|
|
|
|
locale: "en_US.UTF-8"
|
|
timezone: "US/Pacific"
|
|
|
|
write_files:
|
|
- path: "/etc/docker/daemon.json"
|
|
owner: "root:root"
|
|
content: |
|
|
{
|
|
"labels": [ "os=linux", "arch=arm64" ],
|
|
"experimental": true
|
|
}
|