summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-08 09:51:10 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-08 10:02:53 +0300
commit1444e6d5a8353d84744a4203696a7ba52bc6105f (patch)
treebb7694a33df0763d8a63fdc5034ac6569142cba9 /vmadm.md
parent565a5230ee343d7d0ce247d8e37e50ed660ae2f6 (diff)
downloadvmadm-1444e6d5a8353d84744a4203696a7ba52bc6105f.tar.gz
feat: expand tilde notation in the CA key field in a spec
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 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"
}
]
~~~