diff options
Diffstat (limited to 'others')
| -rw-r--r-- | others/.vm.sh2.swp | bin | 0 -> 16384 bytes | |||
| -rw-r--r-- | others/meta-data | 2 | ||||
| -rw-r--r-- | others/user-data | 16 | ||||
| -rwxr-xr-x | others/vm3/compute/create.sh | 2 |
4 files changed, 19 insertions, 1 deletions
diff --git a/others/.vm.sh2.swp b/others/.vm.sh2.swp Binary files differnew file mode 100644 index 0000000..bfa52a2 --- /dev/null +++ b/others/.vm.sh2.swp diff --git a/others/meta-data b/others/meta-data new file mode 100644 index 0000000..ce225e1 --- /dev/null +++ b/others/meta-data @@ -0,0 +1,2 @@ +instance-id: iid-fedora-vm +local-hostname: fedora-cloudimg 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 diff --git a/others/vm3/compute/create.sh b/others/vm3/compute/create.sh index 84646d7..3e6c088 100755 --- a/others/vm3/compute/create.sh +++ b/others/vm3/compute/create.sh @@ -5,7 +5,7 @@ # default values vcpu=8 -ram_gb=4 +ram_gb=8 disk_gb=32 os="fedora40" ostype="linux" |
