Skip to content

Instantly share code, notes, and snippets.

@luginbash
Last active March 23, 2024 04:10
Show Gist options
  • Save luginbash/7a2a9ff2fc85d6b4c8841b991437af39 to your computer and use it in GitHub Desktop.
Save luginbash/7a2a9ff2fc85d6b4c8841b991437af39 to your computer and use it in GitHub Desktop.
cloud config script
#cloud-config
timezone: UTC
locale: en_US.UTF-8
apt:
preserve_sources_list: true
sources:
docker-ce.list:
source: "deb [signed-by=$KEY_FILE] https://download.docker.com/linux/debian $RELEASE stable"
keyid: "7EA0A9C3F273FCD8"
saltstack-bookworm.list:
source: "deb [signed-by=$KEY_FILE] https://repo.saltproject.io/salt/py3/debian/12/amd64/latest bookworm main"
keyid: "64CBBC8173D76B3F"
package_update: true
package_upgrade: true
packages:
- python-is-python3
- rng-tools
- neovim
- mtr-tiny
- gnupg
- curl
- docker-ce
- salt-master
- openssh-server
ssh_pwauth: false
users:
- name: lug
groups: [ sudo, adm, docker ]
ssh_pwauth: False
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
lock-passwd: true
ssh-authorized-keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEKlezFIjoHXJSydekvZYUKYBtHJQf4Q+iDE0DlXxTZL lug@Ithilien
- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAOGGCHokIeRBqhVhXHWhCVvtA9P8JRRMj+8wJz55xReM1uqu5UoVbn357f/pIf+6NIUaU/lom8jmYWQrsZTxe4= lug@Ichigo
- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBM+2vk1+Ib4kZXCyi/UvKhNzcaO5OY6AnI8RYx7j/QXOhsS78MdUvmfAks0ywi8jjsGzSIzX0/9VFNJG1rRG950= lug@pad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment