From 1444e6d5a8353d84744a4203696a7ba52bc6105f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 8 Aug 2021 09:51:10 +0300 Subject: feat: expand tilde notation in the CA key field in a spec 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 a109a44..1b004f4 100644 --- a/vmadm.md +++ b/vmadm.md @@ -50,7 +50,7 @@ default_memory_mib: 2048 default_cpus: 1 default_generate_host_certificate: true default_autostart: true -ca_key: ca_key +ca_key: ~/ca_key authorized_keys: - ~/.ssh/id_rsa.pub ~~~ @@ -67,7 +67,7 @@ authorized_keys: "default_networks": [ "default" ], - "ca_key": "ca_key", + "ca_key": "~/ca_key", "authorized_keys": [ "~/.ssh/id_rsa.pub" ] @@ -75,7 +75,8 @@ authorized_keys: ~~~ ~~~{#spec.yaml .file .yaml} -foo: {} +foo: + ca_key: ~/other_ca ~~~ ~~~{#fullspec.json .file .json} @@ -101,7 +102,7 @@ foo: {} "cpus": 1, "generate_host_certificate": true, "autostart": true, - "ca_key": "ca_key" + "ca_key": "~/other_ca" } ] ~~~ -- cgit v1.2.1