Skip to content

Commit

Permalink
Disable the SSH server during the installer (#2)
Browse files Browse the repository at this point in the history
This removes the need to keep trying SSH handshake, which makes the
intention clearer as to what we're trying to do during the VM build
process.
  • Loading branch information
mweimerskirch authored Jun 17, 2021
1 parent 57dcd50 commit 69a0e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions http/user-data
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#cloud-config
autoinstall:
version: 1
early-commands:
- systemctl stop ssh
identity:
hostname: ubuntu-server
password: '$6$wdAcoXrU039hKYPd$508Qvbe7ObUnxoj15DRCkzC3qO7edjH0VV7BPNRDYK4QR8ofJaEEF2heacn0QgD.f8pO8SNp83XNdWG6tocBM1'
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-2004.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

"ssh_username": "ubuntu",
"ssh_password": "ubuntu",
"ssh_handshake_attempts": "20",
"ssh_timeout": "30m",

"http_directory": "http",

Expand Down

0 comments on commit 69a0e27

Please sign in to comment.