Skip to content

Commit

Permalink
Try to fix dpkg-reconfigure blocking on questions
Browse files Browse the repository at this point in the history
In addition to not fixing the SSH keys problem, this locks some dpkg
resources that make subsequent APT/dpkg runs fail to configure stuff.
  • Loading branch information
strugee committed Oct 1, 2024
1 parent 8575544 commit bd1932a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ConditionPathExists=!/etc/ssh/ssh_host_rsa_key
[Service]
Type=oneshot
ExecStart=dpkg-reconfigure openssh-server
ExecStart=dpkg-reconfigure --default-priority --frontend=noninteractive openssh-server
[Install]
WantedBy=ssh.service
Expand Down

0 comments on commit bd1932a

Please sign in to comment.