Last active
April 11, 2020 03:11
-
-
Save F5Training/075493dd0dbbd6368b727efdf5210845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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