Skip to content

Commit bcda926

Browse files
committed
lx-images#38: Debian/Ubuntu regenerate_ssh_host_keys should not disable itself
1 parent 143e4b2 commit bcda926

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

debian/helpers/regenerate_ssh_host_keys.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Before=ssh.service
55
[Service]
66
Type=oneshot
77
ExecStart=/usr/bin/ssh-keygen -A -v
8-
ExecStartPost=/bin/systemctl disable regenerate_ssh_host_keys
98

109
[Install]
1110
WantedBy=multi-user.target

ubuntu/helpers/regenerate_ssh_host_keys.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Before=ssh.service
55
[Service]
66
Type=oneshot
77
ExecStart=/usr/bin/ssh-keygen -A -v
8-
ExecStartPost=/bin/systemctl disable regenerate_ssh_host_keys
98

109
[Install]
1110
WantedBy=multi-user.target

0 commit comments

Comments
 (0)