File tree Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ jobs:
149
149
run : ssh-keygen -f id_rsa -N ''
150
150
working-directory : ${{ github.workspace }}/terraform/aio
151
151
152
+ - name : Print ssh keypair
153
+ run : cat id_rsa
154
+ working-directory : ${{ github.workspace }}/terraform/aio
155
+
152
156
- name : Generate clouds.yaml
153
157
run : |
154
158
cat << EOF > clouds.yaml
Original file line number Diff line number Diff line change 7
7
ssh_authorized_keys:
8
8
- ${ ssh_public_key}
9
9
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6fiHrVk47rIPJUyKMRZPHbCVKmyw/w7RL3blRTZu0T alex@alex-XPS-9315"
10
-
10
+ plain_text_passwd: alex-test
11
11
write_files:
12
12
# WORKAROUND: https://bugs.launchpad.net/kolla-ansible/+bug/1995409
13
13
- content: |
@@ -18,14 +18,6 @@ write_files:
18
18
permissions: '0755'
19
19
20
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
21
+ - name: root
22
+ lock_passwd: false
23
+ hashed_passwd: '$6$rounds=4096$u6pwbAbtW6iKyNrW$2cTSsz7q.UNSU6gFSy/8pwxQS84dZCUHh5LtOkbdKT/b1p/8UTjH37h1n7uys3bqlg45wlyu/RrHIBnU8WkLK/'
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ data "openstack_networking_subnet_v2" "network" {
60
60
resource "openstack_compute_instance_v2" "kayobe-aio" {
61
61
name = var. aio_vm_name
62
62
flavor_name = var. aio_vm_flavor
63
- config_drive = false
63
+ config_drive = true
64
64
user_data = templatefile (" templates/userdata.cfg.tpl" , {ssh_public_key = file (var. ssh_public_key )})
65
65
security_groups = [" kayobe-runner" ]
66
66
network {
You can’t perform that action at this time.
0 commit comments