mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-21 23:52:18 +00:00
remove ssh key
This commit is contained in:
parent
7c671e1ee5
commit
beb7a2feca
2 changed files with 0 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash -eu
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
echo ">> Installing Kubernetes components..."
|
||||
|
||||
# Configure and enable kernel modules
|
||||
|
|
|
@ -162,11 +162,6 @@ build {
|
|||
destination = "/tmp"
|
||||
}
|
||||
|
||||
provisioner "file" {
|
||||
source = "packer_cache/ssh_private_key_packer.pem"
|
||||
destination = "/home/${var.build_username}/.ssh/id_ed25519"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "export KUBEVERSION=${var.k8s_version}; bash {{ .Path }}"
|
||||
expect_disconnect = true
|
||||
|
|
Loading…
Reference in a new issue