authorized_keys: Fix option syntax
infra/dch-autoprovision/pipeline/head This commit looks good Details

> `bad key options: missing start quote`
master
Dustin 2025-08-14 14:14:56 -05:00
parent c88b4c42e8
commit 683ac6e576
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ mkdir -p "${RPM_BUILD_ROOT}%{_presetdir}"
%posttrans
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)" \
"$(cat %{dch_datadir}/host-provisioner.key)" \
>> /root/.ssh/authorized_keys