binglab - This is my homelab site
Attachments
History
Blame
View Source
Changelog
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Page Index
A Starting Point
1-Installing Proxmox
2-Create Template
3-Install Portainer
A Starting Point
2-Create Template
04195a
Commit
04195a
2025-05-25 19:00:26
MB Tech
: -/-
a starting point/2-create template.md
..
@@ 2,9 2,7 @@
## Create a template using Ubuntu Cloud Image and customization script
-
## Customization script for Ubuntu Cloud image
-
-
### Docker Compose File (`ubuntu.yml`)
+
### Customization script (`ubuntu.yml`)
Once the snippets has been added to the local location you can cd to the /var/lib/snippets directory
@@ 41,6 39,9 @@
```
Next need to create the bash script to create the template
+
```
+
cd ~
+
```
```
nano create-template.sh
```
@@ 96,8 97,13 @@
qm set $VMID --ipconfig0 ip=dhcp
qm template $VMID
```
-
Reminder you need to change the variables!!!
-
+
::: info
+
# Reminder you need to change the variables:
+
VMID=<Your ID you would Like to use>
+
STORAGE=<Your storage location>
+
USER=<your username>
+
With _formatted_ content.
+
:::
## Youtube Video
<iframe width="560" height="315" src="https://www.youtube.com/embed/ha2E4E5baYk?si=DQYFsRrcfD-1hUeH" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
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