Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created March 22, 2022 19:51
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 sombrafam/4800ecb543078b1520e769823e16f14f to your computer and use it in GitHub Desktop.
Save sombrafam/4800ecb543078b1520e769823e16f14f to your computer and use it in GitHub Desktop.
root@buneary:/home/ubuntu# lxc config show vm --expanded
architecture: x86_64
config:
image.architecture: amd64
image.description: Ubuntu focal amd64 (20220322_07:42)
image.os: Ubuntu
image.release: focal
image.serial: "20220322_07:42"
image.type: disk-kvm.img
image.variant: cloud
limits.cpu: "2"
limits.memory: 4GB
security.secureboot: "false"
user.network-config: |-
version: 2
ethernets:
oam0:
match:
macaddress: 0a:d2:63:20:20:55
dhcp4: true
user.user-data: |-
#cloud-config
ssh_pwauth: yes
users:
- name: ubuntu
lock_passwd: false
groups: lxd
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDzkXArSpeE4l8vmUU3pqjtpFUwb7GUw2Ix6AditthdUjAIScYhGZGkksm0oE2KxFSmqkUMJWXve16SB33VKMj1BjOpa2bXdcTGGq8ZKqWMfuvGQdU5M71OzOo5aXDWWq8sWgO4tJrby5W3JDA4no+DuglVx536LC8ND4YYP7FO9E6xAlEg/ZSC4bxnqFS2iyAzMFlzqPrADfeL7yZTL3orxoOGw9fHIZQzsWG0hYgu0dnOfXe6vXMxm94tTVxEG8LnQo9zNLWPgpbLLeyyGtUkJy3guENkICmZHVHfnJcEDr/vqxVzohbJFPNNms7weqSqc9LR53hDNgpmg6/SZXapq0IxO+uRhE2gNYcdKZTVe0CpIfWMz9PO8qXQuOSIZXD4IbejGmrfepQSCN5Zul6WDP3I58UmlJd9C2ZAaMGDf577SObDTV6CKRrjmxPO6Cyyytn/APOrSE6pZ9ttjRmuE+dZOAa8ys8QdDP+B4FezU1Ixh5KUsHwsgn1kvMphlk= ubuntu@buneary
ssh_import_id:
- lp:sombrafam
growpart:
mode: auto
devices: ['/']
ignore_growroot_disabled: false
volatile.base_image: 6bc6c743ff33dad3fdfeb56bdfa601dd4ade75eeb3023eb1962350b34c2912f9
volatile.last_state.power: STOPPED
volatile.oam0.hwaddr: 00:16:3e:eb:19:dd
volatile.uuid: 7db83d14-2f70-4c59-b98b-5a38ced1e1ea
volatile.vsock_id: "33"
devices:
oam0:
boot.priority: "5"
name: oam0
network: oam
type: nic
root:
path: /
pool: default
size: 40GB
type: disk
ephemeral: false
profiles:
- vms
stateful: false
description: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment