Skip to content

Commit

Permalink
Merge pull request #1595 from giantswarm/proxmox_user
Browse files Browse the repository at this point in the history
Ensure builder user is cleaned up for Proxmox provider
  • Loading branch information
k8s-ci-robot authored Oct 14, 2024
2 parents 1bee679 + f4fb7c1 commit a047e09
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions images/capi/packer/proxmox/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@
"kubernetes_version": "{{user `kubernetes_semver` | replace \"v\" \"\" 1}}"
},
"version": "{{user `goss_version`}}"
},
{
"expect_disconnect": true,
"inline": [
"echo '{{user `ssh_password`}}' | sudo -S -E sh -c 'usermod -L {{user `ssh_username`}} && shutdown'"
],
"inline_shebang": "/bin/bash -e",
"type": "shell"
}
],
"variables": {
Expand Down

0 comments on commit a047e09

Please sign in to comment.