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.
This commit is contained in:
parent
b304176a2b
commit
56b1e41eb0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue