Skip to content

Instantly share code, notes, and snippets.

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 adam-stokes/569072af88dab297de554d2436e5ddd6 to your computer and use it in GitHub Desktop.
Save adam-stokes/569072af88dab297de554d2436e5ddd6 to your computer and use it in GitHub Desktop.
cat <<EOF> profile-update.yaml
config: {}
description: Default LXD profile - updated
devices:
eth0:
name: eth0
parent: lxdbr0
nictype: bridged
type: nic
root:
path: /
pool: default
type: disk
EOF
cat profile-update.yaml | lxc profile edit default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment