diff options
Diffstat (limited to 'others/user-data')
| -rw-r--r-- | others/user-data | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/others/user-data b/others/user-data new file mode 100644 index 0000000..795fb19 --- /dev/null +++ b/others/user-data @@ -0,0 +1,16 @@ +#cloud-config +users: + - name: fedora + ssh-authorized-keys: + - + sudo: ['ALL=(ALL) NOPASSWD:ALL'] + groups: wheel + shell: /bin/bash +runcmd: + - sudo growpart /dev/sda 1 + - sudo xfs_growfs / + - sudo dnf install -y vim git + - cd /home/fedora + - git clone https://git.0nom.ch/setup + - sudo ./setup/setup.sh + - touch /home/fedora/runcmd_done |
