authorized_keys: Fix option syntax
infra/dch-autoprovision/pipeline/head This commit looks good
Details
infra/dch-autoprovision/pipeline/head This commit looks good
Details
> `bad key options: missing start quote`master
parent
c88b4c42e8
commit
683ac6e576
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue