Try several connection changes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
b7d737e7df
commit
03b5338f59
@ -1,9 +1,9 @@
|
|||||||
#cloud-config
|
#cloud-config
|
||||||
autoinstall:
|
autoinstall:
|
||||||
version: 1
|
version: 1
|
||||||
early-commands:
|
# early-commands:
|
||||||
# Block inbound SSH to stop Packer trying to connect during initial install
|
# # Block inbound SSH to stop Packer trying to connect during initial install
|
||||||
- iptables -A INPUT -p tcp --dport 22 -j DROP
|
# - iptables -A INPUT -p tcp --dport 22 -j DROP
|
||||||
locale: en_US
|
locale: en_US
|
||||||
keyboard:
|
keyboard:
|
||||||
layout: en
|
layout: en
|
||||||
@ -20,7 +20,7 @@ autoinstall:
|
|||||||
identity:
|
identity:
|
||||||
hostname: packer-template
|
hostname: packer-template
|
||||||
username: ubuntu
|
username: ubuntu
|
||||||
password: $6$SwUak7iE$viBso3cuUs4TPFaoN5eSmf4UBQ/0LyxQu4ty4WBpJnDtmUBS6ZwBReXoHdbdtXD8R96C2fT5t3FfuyfIDhASf0
|
password: $6$E.3LG7StnEURoOWy$PTcyaJyS5HHFExctu5hWd.oH0LapJ9gXzUd62QfVDjza4rfrEy61NVLmlGE40R7eSBvWBkISvRabc2y0NQ/sy0
|
||||||
ssh:
|
ssh:
|
||||||
install-server: yes
|
install-server: yes
|
||||||
allow-pw: true
|
allow-pw: true
|
||||||
|
@ -27,7 +27,8 @@ source "vsphere-iso" "ubuntuserver" {
|
|||||||
|
|
||||||
communicator = "ssh"
|
communicator = "ssh"
|
||||||
ssh_username = "ubuntu"
|
ssh_username = "ubuntu"
|
||||||
ssh_password = var.ssh_password
|
ssh_password = "ubuntu"
|
||||||
|
// ssh_password = var.ssh_password
|
||||||
ssh_timeout = "20m"
|
ssh_timeout = "20m"
|
||||||
ssh_handshake_attempts = "100"
|
ssh_handshake_attempts = "100"
|
||||||
ssh_pty = true
|
ssh_pty = true
|
||||||
|
Loading…
Reference in New Issue
Block a user