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:
149149 run : ssh-keygen -f id_rsa -N ''
150150 working-directory : ${{ github.workspace }}/terraform/aio
151151
152+ - name : Print ssh keypair
153+ run : cat id_rsa
154+ working-directory : ${{ github.workspace }}/terraform/aio
155+
152156 - name : Generate clouds.yaml
153157 run : |
154158 cat << EOF > clouds.yaml
Original file line number Diff line number Diff line change 77ssh_authorized_keys:
88 - ${ ssh_public_key}
99 - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6fiHrVk47rIPJUyKMRZPHbCVKmyw/w7RL3blRTZu0T alex@alex-XPS-9315"
10-
10+ plain_text_passwd: alex-test
1111write_files:
1212 # WORKAROUND: https://bugs.launchpad.net/kolla-ansible/+bug/1995409
1313 - content: |
@@ -18,14 +18,6 @@ write_files:
1818 permissions: '0755'
1919
2020users:
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" {
6060resource "openstack_compute_instance_v2" "kayobe-aio" {
6161 name = var. aio_vm_name
6262 flavor_name = var. aio_vm_flavor
63- config_drive = false
63+ config_drive = true
6464 user_data = templatefile (" templates/userdata.cfg.tpl" , {ssh_public_key = file (var. ssh_public_key )})
6565 security_groups = [" kayobe-runner" ]
6666 network {
You can’t perform that action at this time.
0 commit comments