Skip to content

Commit

Permalink
add initial sketch of a cloud-init for gha runners
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wall committed Nov 28, 2024
1 parent ed2e4c9 commit 8039974
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions cloud-init.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#cloud-config
users:
- name: username
password: password
chpasswd: { expire: false }
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash

disable_root: true

ssh_pwauth: false
ssh_deletekeys: true

packages:
- ufw
package_update: true
package_upgrade: true

write_files:
- path: /etc/motd
content: |
Hello there.
runcmd:
- systemctl stop sshd
- systemctl disable sshd

0 comments on commit 8039974

Please sign in to comment.