Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save F5Training/075493dd0dbbd6368b727efdf5210845 to your computer and use it in GitHub Desktop.
Save F5Training/075493dd0dbbd6368b727efdf5210845 to your computer and use it in GitHub Desktop.
#cloud-config
#apt_mirror: http://sg.archive.ubuntu.com/ubuntu/
apt:
# Preserve existing /etc/apt/sources.list
# Default: overwrite sources_list with mirror. If this is true
# then apt_mirror above will have no effect
preserve_sources_list: false
#
#
#
primary:
- arches:
- amd64
uri: "http://archive.ubuntu.com/ubuntu/"
security:
- arches:
- amd64
uri: "http://security.ubuntu.com/ubuntu"
sources:
docker-ce.list:
source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
keyid: {{ keyid }}
packages:
- apt-transport-https
- docker-ce
- docker-ce-cli
- containerd.io
groups:
- student
users:
- name: student
gecos: student
primary-group: student
groups: sudo, docker, lxd
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
ssh_authorized_keys:
- {{ public_key }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment