Skip to content

Instantly share code, notes, and snippets.

@julian-klode
Last active March 22, 2021 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julian-klode/04d587cc16ed8532961d3e60710395a6 to your computer and use it in GitHub Desktop.
Save julian-klode/04d587cc16ed8532961d3e60710395a6 to your computer and use it in GitHub Desktop.
config:
user.user-data: |
#cloud-config
apt:
proxy: http://_gateway:8000
apt_pipelining: unchanged
description: Default LXD profile
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
used_by:
- /1.0/instances/vpn-us
config:
raw.idmap: both 1000 1000
user.user-data: |
#cloud-config
users:
- name: jak
gecos: Julian Andres Klode
plain_text_passwd: 'ubuntu'
home: /home/jak
shell: /bin/bash
lock_passwd: True
sudo: ALL=(ALL) NOPASSWD:ALL
groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video]
apt:
proxy: http://_gateway:8000
apt_pipelining: unchanged
description: Default LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
homedir:
path: /home/jak
readonly: "true"
source: /home/jak
type: disk
projectsdir:
path: /home/jak/Projects
source: /home/jak/Projects
type: disk
root:
path: /
pool: default
type: disk
name: dev
used_by:
- /1.0/instances/debian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment