diff options
| author | hc <hc@email.ch> | 2024-12-29 16:42:34 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-12-29 16:44:42 +0800 |
| commit | 26d1a94dfd4eeb91b259bfd9d4b8f8d1cdfabd98 (patch) | |
| tree | 01e11a6c260721f2a4cd1b3be60fc80ced68e992 /others/user-data | |
| parent | 885b76a594fc0a75e28152b2e806c2e0f46aee3d (diff) | |
udpate
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 |
