From bd87e253000b8a0a73c831877c99291fb430607f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 25 Jul 2021 12:40:27 +0300 Subject: fix: actually add networks to VM Sponsored-by: author --- vmadm.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'vmadm.md') 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} -- cgit v1.2.1