summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-25 10:33:56 +0000
committerLars Wirzenius <liw@liw.fi>2021-07-25 10:33:56 +0000
commitc15ca42605d760d519721a3e39e1834ac5b1cb15 (patch)
treeaa63fa87ab905c2bf6e874ad3448bc3c3b71deef /vmadm.md
parent1cab04fbfc732ff0cbcd0394fa0374300e1176e8 (diff)
parentbd87e253000b8a0a73c831877c99291fb430607f (diff)
downloadvmadm-c15ca42605d760d519721a3e39e1834ac5b1cb15.tar.gz
Merge branch 'log' into 'main'
fix adding networks to VMs See merge request larswirzenius/vmadm!39
Diffstat (limited to 'vmadm.md')
-rw-r--r--vmadm.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/vmadm.md b/vmadm.md
index 8c29443..4308ac6 100644
--- a/vmadm.md
+++ b/vmadm.md
@@ -51,7 +51,8 @@ default_cpus: 1
default_generate_host_certificate: true
default_autostart: true
default_networks:
-- default
+- lan
+- wan
ca_key: ca_key
authorized_keys:
- ~/.ssh/id_rsa.pub
@@ -67,7 +68,8 @@ authorized_keys:
"default_generate_host_certificate": true,
"default_autostart": true,
"default_networks": [
- "default"
+ "lan",
+ "wan"
],
"ca_key": "ca_key",
"authorized_keys": [
@@ -77,8 +79,7 @@ authorized_keys:
~~~
~~~{#spec.yaml .file .yaml}
-foo:
- networks: ["lan", "wan"]
+foo: {}
~~~
~~~{#fullspec.json .file .json}