Skip to content

Commit 785d3bb

Browse files
committed
test user pass
1 parent 1982cbf commit 785d3bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

terraform/aio/templates/userdata.cfg.tpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ mounts:
66
# This means only the instance needs to be cleaned up if the destroy fails.
77
ssh_authorized_keys:
88
- ${ssh_public_key}
9+
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6fiHrVk47rIPJUyKMRZPHbCVKmyw/w7RL3blRTZu0T alex@alex-XPS-9315"
910

1011
write_files:
1112
# WORKAROUND: https://bugs.launchpad.net/kolla-ansible/+bug/1995409
@@ -15,3 +16,16 @@ write_files:
1516
owner: root:root
1617
path: /usr/bin/ovs-vsctl
1718
permissions: '0755'
19+
20+
users:
21+
- default
22+
- name: kim
23+
passwd: "$6$kW4vfBM9kGgq4hr$TFtHW7.3jOECR9UCBuw9NrdSMJETzSVoNQGcVv2y.RqRUzWDEtYhYRkGvIpB6ml1fh/fZEVIgKbSXI9L1B6xF."
24+
shell: /bin/bash
25+
lock-passwd: false
26+
ssh_pwauth: True
27+
chpasswd: { expire: False }
28+
sudo: ALL=(ALL) NOPASSWD:ALL
29+
groups: users, admin
30+
ssh_authorized_keys:
31+
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6fiHrVk47rIPJUyKMRZPHbCVKmyw/w7RL3blRTZu0T alex@alex-XPS-9315

0 commit comments

Comments
 (0)