Last active
March 6, 2022 16:44
-
-
Save sombrafam/e22551af9c4a024b46a4099494400add 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
cat << EOF | sudo lxc launch images:ubuntu/focal ubuntu --vm -p controller | |
name: controller | |
config: | |
limits.memory: 4GB | |
limits.cpu: 2 | |
description: Default LXD profile | |
devices: | |
admin0: | |
name: admin0 | |
network: admin | |
type: nic | |
hwaddr: 0a:d2:63:10:10:02 | |
oam0: | |
name: oam0 | |
network: oam | |
type: nic | |
hwaddr: 0a:d2:63:20:20:02 | |
ext0: | |
name: ext0 | |
network: ext | |
type: nic | |
hwaddr: 0a:d2:63:30:30:02 | |
root: | |
path: / | |
pool: default | |
type: disk | |
data: | |
pool: default | |
type: disk | |
source: /dev/loop3 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment