diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-08 09:51:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-08 10:02:53 +0300 |
commit | 1444e6d5a8353d84744a4203696a7ba52bc6105f (patch) | |
tree | bb7694a33df0763d8a63fdc5034ac6569142cba9 /src | |
parent | 565a5230ee343d7d0ce247d8e37e50ed660ae2f6 (diff) | |
download | vmadm-1444e6d5a8353d84744a4203696a7ba52bc6105f.tar.gz |
feat: expand tilde notation in the CA key field in a spec
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r-- | src/spec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spec.rs b/src/spec.rs index 9f8d3e8..5dc7714 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -284,7 +284,7 @@ impl Specification { let key_filenames = input.ssh_key_files(config, name)?; let ssh_keys = ssh_keys(&key_filenames)?; let ca_key = if let Some(filename) = &input.ca_key { - Some(filename.clone()) + Some(expand_tilde(filename)) } else { config.ca_key.clone() }; |