summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-25 11:18:33 +0000
committerLars Wirzenius <liw@liw.fi>2021-03-25 11:18:33 +0000
commit228758b795b3c27d5fd146e380774b29db73432f (patch)
tree20df497a743e8442f9725c2f5ab552747363a9d1 /vmadm.md
parenta45450a42e4cdcd7f2d5671984c9c7f3945131fd (diff)
parent00dc4a7a85b32c4337dd3672adec2cbfe3597bfe (diff)
downloadvmadm-228758b795b3c27d5fd146e380774b29db73432f.tar.gz
Merge branch 'tilde' into 'main'
test: don't hide clippy output if it's successful See merge request larswirzenius/vmadm!30
Diffstat (limited to 'vmadm.md')
-rw-r--r--vmadm.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/vmadm.md b/vmadm.md
index 24ffe5c..2d97876 100644
--- a/vmadm.md
+++ b/vmadm.md
@@ -36,9 +36,15 @@ V4cecTlFJGBtUOUAAAAMbGl3QGV4b2xvYmUxAQIDBAUGBw==
-----END OPENSSH PRIVATE KEY-----
~~~
+Note that we use *tilde expansion* in filenames to indicate they go
+into the home directory. The Subplot test runner sets the `HOME`
+environment variable to a suitable directory, so that the files don't
+go into the actual home directory of the person running the generated
+test program
+
~~~{#config.yaml .file .yaml}
-image_directory: images
-default_base_image: base.qcow2
+image_directory: ~/images
+default_base_image: ~/base.qcow2
default_image_gib: 5
default_memory_mib: 2048
default_cpus: 1
@@ -46,7 +52,7 @@ default_generate_host_certificate: true
default_autostart: true
ca_key: ca_key
authorized_keys:
- - .ssh/id_rsa.pub
+ - ~/.ssh/id_rsa.pub
~~~
~~~{#ssh_key_pub .file}