diff --git a/src/Propellor/Property/Ssh.hs b/src/Propellor/Property/Ssh.hs index 3e354af..bc0e7ca 100644 --- a/src/Propellor/Property/Ssh.hs +++ b/src/Propellor/Property/Ssh.hs @@ -73,7 +73,7 @@ randomHostKeys = flagFile prop "/etc/ssh/.unique_host_keys" , Param "rm -f /etc/ssh/ssh_host_*" ] ensureProperty $ scriptProperty - [ "DPKG_MAINTSCRIPT_PACKAGE=openssh-server /var/lib/dpkg/info/openssh-server.postinst configure" ] + [ "DPKG_MAINTSCRIPT_NAME=postinst DPKG_MAINTSCRIPT_PACKAGE=openssh-server /var/lib/dpkg/info/openssh-server.postinst configure" ] -- | Sets ssh host keys from the site's PrivData. --