parent
572f04ab68
commit
75a8d26eab
|
@ -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