authorized_keys: Fix option syntax

> `bad key options: missing start quote`
dev/ci
Dustin 2025-08-14 14:14:56 -05:00
parent 572f04ab68
commit 75a8d26eab
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ mkdir -p "${RPM_BUILD_ROOT}%{_presetdir}"
%posttrans %posttrans
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
printf 'expiry-time=%s,restrict,pty %s\n' \ printf 'expiry-time="%s",restrict,pty %s\n' \
"$(date -d +1hour +%Y%m%d%H%M)" \ "$(date -d +1hour +%Y%m%d%H%M)" \
"$(cat %{dch_datadir}/host-provisioner.key)" \ "$(cat %{dch_datadir}/host-provisioner.key)" \
>> /root/.ssh/authorized_keys >> /root/.ssh/authorized_keys