diff options
| author | Lars Wirzenius <liw@liw.fi> | 2019-12-06 17:09:31 +0200 |
|---|---|---|
| committer | Lars Wirzenius <liw@liw.fi> | 2019-12-06 17:09:31 +0200 |
| commit | 56b1e41eb00d8605c2d2e13808be4f7dc0ebf19d (patch) | |
| tree | f348a643c8865b07a90a2a526ec4dd1e6ae5d1d8 | |
| parent | b304176a2bfcbd1835f926788ac11ccd81377cab (diff) | |
Fix: quote expansion of $ROOT in case it has problematic characters
All the other uses of $ROOT are already quoted, so do it for this case
as well.
| -rw-r--r-- | raspi3.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raspi3.yaml b/raspi3.yaml index 9dca9ef..fc98f40 100644 --- a/raspi3.yaml +++ b/raspi3.yaml @@ -114,7 +114,7 @@ steps: install -m 644 -o root -g root rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system" mkdir -p "${ROOT?}/etc/systemd/system/multi-user.target.requires/" ln -s /etc/systemd/system/rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system/multi-user.target.requires/rpi-generate-ssh-host-keys.service" - rm -f ${ROOT?}/etc/ssh/ssh_host_*_key* + rm -f "${ROOT?}"/etc/ssh/ssh_host_*_key* root-fs: / # Clean up archive cache (likely not useful) and lists (likely outdated) to |
