Skip to content

Commit

Permalink
Merge pull request #39 from TritonDataCenter/deb-ssh-keys
Browse files Browse the repository at this point in the history
lx-images#38: Debian/Ubuntu regenerate_ssh_host_keys should not disable itself
  • Loading branch information
hadfl authored Mar 17, 2023
2 parents 143e4b2 + bcda926 commit 64df600
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion debian/helpers/regenerate_ssh_host_keys.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion ubuntu/helpers/regenerate_ssh_host_keys.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64df600

Please sign in to comment.