From bcda92694c4dc4bdce5246f908b3d49c67ed929f Mon Sep 17 00:00:00 2001 From: Brian Bennett Date: Mon, 13 Mar 2023 13:35:59 -0700 Subject: [PATCH] lx-images#38: Debian/Ubuntu regenerate_ssh_host_keys should not disable itself --- debian/helpers/regenerate_ssh_host_keys.service | 1 - ubuntu/helpers/regenerate_ssh_host_keys.service | 1 - 2 files changed, 2 deletions(-) diff --git a/debian/helpers/regenerate_ssh_host_keys.service b/debian/helpers/regenerate_ssh_host_keys.service index d879ae3..c15b4df 100644 --- a/debian/helpers/regenerate_ssh_host_keys.service +++ b/debian/helpers/regenerate_ssh_host_keys.service @@ -5,7 +5,6 @@ Before=ssh.service [Service] Type=oneshot ExecStart=/usr/bin/ssh-keygen -A -v -ExecStartPost=/bin/systemctl disable regenerate_ssh_host_keys [Install] WantedBy=multi-user.target diff --git a/ubuntu/helpers/regenerate_ssh_host_keys.service b/ubuntu/helpers/regenerate_ssh_host_keys.service index d879ae3..c15b4df 100644 --- a/ubuntu/helpers/regenerate_ssh_host_keys.service +++ b/ubuntu/helpers/regenerate_ssh_host_keys.service @@ -5,7 +5,6 @@ Before=ssh.service [Service] Type=oneshot ExecStart=/usr/bin/ssh-keygen -A -v -ExecStartPost=/bin/systemctl disable regenerate_ssh_host_keys [Install] WantedBy=multi-user.target