remove ssh key

This commit is contained in:
John Bowdre 2022-12-06 15:47:05 -06:00
parent 7c671e1ee5
commit beb7a2feca
2 changed files with 0 additions and 7 deletions

View file

@ -1,6 +1,4 @@
#!/bin/bash -eu
chmod 600 ~/.ssh/id_ed25519
echo ">> Installing Kubernetes components..."
# Configure and enable kernel modules

View file

@ -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