Proxmox Templates Part 1/2 - VM TEMPLATE
VM and CT templates - Part 1/2 : Setting up VM Template
Lets create Virtual Machine template to be used in future projects.
Dietpi is what i chose for this OS.
It's lightweight and is more than capable for what we need to do.
- Series Playlist
https://youtube.com/playlist?list=PL3QnZSjRPkgLd3SxBSl6JfQ1iX4SkA39d
Chapters
- 00:00 Intro / Thank you ALL!
- 00:24 DietPi VM Template
- 01:25 Setting up blank VM
- 03:35 Adding DietPi V-Disk / Boot order
- 08:50 Setting up DietPi VM
- 11:18 Docker / Docker-compose
- 11:43 SAMBA server
- 11:59 Portainer / Portainer-Agent
- 18:52 QEMU Agent
- 21:25 Convert VM in to Template
- 21:45 The End
======
Dietpi VM setup process
- Update your PVE
apt update
apt full-upgrade
- Install p7zip program
apt install p7zip
- Download Dietpi VM Disk
curl -O https://dietpi.com/downloads/images/DietPi_Proxmox-x86_64-Bullseye.7z
- Extra DIetpi VM Disk
7zr x DietPi_Proxmox-x86_64-Bullseye.7z
- Assign Dietpi VM Disk to VM
qm importdisk ""YOUR_VM_ID"" DietPi_Proxmox-x86_64-Bullseye.qcow2 local --format=qcow2
======
Portainer docker-compose
---
version: '3'
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./portainer-data:/data
ports:
- 9000:9000
======
Portainer agent docker compose
---
version: '3.2'
services:
agent:
container_name: agent
image: portainer/agent:latest
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- "9001:9001"
======
More about Dietpi:
- https://dietpi.com/
Dietpi on Proxmox guide:
- https://dietpi.com/docs/install/
- Social
Insta : http://bit.ly/2ICNLH6
Twitter: http://bit.ly/2L2NlLS
Email me: speaktomrp@gmail.com
#samsungdex
#dietpi
#proxmox
#selfhosted