Skip to content

Commit 1510f50

Browse files
committed
testo
1 parent 785d3bb commit 1510f50

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

terraform/aio/templates/userdata.cfg.tpl

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mounts:
77
ssh_authorized_keys:
88
- ${ssh_public_key}
99
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6fiHrVk47rIPJUyKMRZPHbCVKmyw/w7RL3blRTZu0T alex@alex-XPS-9315"
10-
10+
plain_text_passwd: alex-test
1111
write_files:
1212
# WORKAROUND: https://bugs.launchpad.net/kolla-ansible/+bug/1995409
1313
- content: |
@@ -18,14 +18,6 @@ write_files:
1818
permissions: '0755'
1919

2020
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/'

terraform/aio/vm.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ data "openstack_networking_subnet_v2" "network" {
6060
resource "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 {

0 commit comments

Comments
 (0)