Commit 622ee2

2025-05-25 19:41:40 MB Tech: -/-
a starting point/2-create template.md ..
@@ 31,12 31,25 @@
- apt install -y docker-ce
- systemctl status docker
- usermod -aG docker mbtech
- - echo "mbtech ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
+ - echo "<username> ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
- mkdir -p ~/.docker/cli-plugins/
- curl -SL https://github.com/docker/compose/releases/download/v2.36.0/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
- chmod +x ~/.docker/cli-plugins/docker-compose
# Taken from https://forum.proxmox.com/threads/combining-custom-cloud-init-with-auto-generated.59008/page-3#post-428772
```
+ ::: info
+ # Reminder you need to change the user name for sudoers file:
+
+ echo "<username> ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
+
+ ```
+ VMID=<Your ID you would Like to use>
+ STORAGE=<Your storage location>
+ USER=<your username>
+ ```
+ :::
+
+
Next need to create the bash script to create the template
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9