We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35ec4c commit 6be879aCopy full SHA for 6be879a
openstack.pkr.hcl
@@ -31,6 +31,7 @@ source "openstack" "openhpc" {
31
ssh_bastion_username = "${var.ssh_bastion_username}"
32
ssh_bastion_private_key_file = "~/.ssh/id_rsa"
33
image_name = "${source.name}-${local.timestamp}.qcow2"
34
+ ssh_clear_authorized_keys = true
35
}
36
37
build {
roles/builder/tasks/main.yml
@@ -38,10 +38,5 @@
38
state: absent
39
become: yes
40
41
-- name: Delete injected ssh key
42
- file:
43
- path: /home/rocky/.ssh/authorized_keys
44
- state: absent
45
- become: yes
46
47
# - meta: end_here # useful for debugging, can rerun
0 commit comments