diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-25 12:29:44 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-25 13:16:13 +0200 |
commit | 00dc4a7a85b32c4337dd3672adec2cbfe3597bfe (patch) | |
tree | 20df497a743e8442f9725c2f5ab552747363a9d1 /vmadm.md | |
parent | 7d906d7f5436705ec3f2f3f5c4d8629c79f98fde (diff) | |
download | vmadm-00dc4a7a85b32c4337dd3672adec2cbfe3597bfe.tar.gz |
feat: allow ~/ in config, specification files
Diffstat (limited to 'vmadm.md')
-rw-r--r-- | vmadm.md | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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} |