─── ❖ ── ✦ ── ❖ ───

How to quickly set up a Debian 12 VM on Proxmox 8 using helper scripts.

Resources

Installation steps

  1. Open your Proxmox node’s Shell and run
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/debian-vm.sh)"
  1. Configure settings to your liking
    1. (optional) Don’t enable β€œStart after created” at the end.
    2. (optional) By default β€œRAM β†’ Balooning Device” is enabled, disable it under β€œVM β†’ Hardware β†’ Memory (Advanced)β€œ.
    3. Start VM.
  2. Follow the desired post-installation steps
  3. Set your timezone (inside the VM) with
timedatectl set-timezone Europe/Berlin
  1. Install quemu-guest-agent with
apt-get update && apt-get install -y qemu-guest-agent

Default settings

    ____       __    _                ______
   / __ \___  / /_  (_)___ _____     <  /__ \
  / / / / _ \/ __ \/ / __ `/ __ \    / /__/ /
 / /_/ /  __/ /_/ / / /_/ / / / /   / // __/
/_____/\___/_.___/_/\__,_/_/ /_/   /_//____/
 
Using Default Settings
Using Virtual Machine ID: 100
Using Machine Type: i440fx
Using Disk Cache: None
Using Hostname: debian
Using CPU Model: KVM64
Allocated Cores: 2
Allocated RAM: 2048
Using Bridge: vmbr0
Using MAC Address: 02:25:83:B4:2A:87
Using VLAN: Default
Using Interface MTU Size: Default
Start VM when completed: yes
Creating a Debian 12 VM using the above default settings
 βœ“ Using local-lvm for Storage Location.
 βœ“ Virtual Machine ID is 100.
 βœ“ https://cloud.debian.org/images/cloud/bookworm/20231228-1609/debian-12-nocloud-amd64-20231228-1609.qcow2
 βœ“ Downloaded debian-12-nocloud-amd64-20231228-1609.qcow2
 βœ“ Created a Debian 12 VM (debian)
 βœ“ Started Debian 12 VM
 βœ“ Completed Successfully!
 
More Info at https://github.com/tteck/Proxmox/discussions/1988

─── ❖ ── ✦ ── ❖ ───