summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-25 12:40:27 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-25 13:30:23 +0300
commitbd87e253000b8a0a73c831877c99291fb430607f (patch)
treeaa63fa87ab905c2bf6e874ad3448bc3c3b71deef /vmadm.md
parent957e9f268a84f39d05a2f7ff35de105b3b695fac (diff)
downloadvmadm-bd87e253000b8a0a73c831877c99291fb430607f.tar.gz
fix: actually add networks to VM
Sponsored-by: author
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}