tips:proxmox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:proxmox [2025/10/24 08:40] – created sscipionitips:proxmox [2025/10/24 12:50] (current) – [Template] sscipioni
Line 23: Line 23:
  
  
-import image and attach to template with 50G size+import image and attach to template with two disks 50G size
 <code="bash"> <code="bash">
 # Create a temporary directory to work in # Create a temporary directory to work in
Line 45: Line 45:
 # IMPORTANT: Replace 'local-lvm' with your storage name # IMPORTANT: Replace 'local-lvm' with your storage name
 qm set $VMID --ide2 local-lvm:cloudinit qm set $VMID --ide2 local-lvm:cloudinit
 +
 +
 +# Add a new, empty 50GB disk to the template
 +# IMPORTANT: Replace 'local-lvm' with your storage name
 +qm set $VMID --scsi1 local-lvm:50
  
 # Set the user account that will be created # Set the user account that will be created
Line 57: Line 62:
 qm set $VMID --ipconfig0 ip=dhcp qm set $VMID --ipconfig0 ip=dhcp
 qm set $VMID --ipconfig1 ip=dhcp qm set $VMID --ipconfig1 ip=dhcp
 +# qm set 203 --ipconfig0 ip=10.1.109.203/24,gw=10.1.109.1
  
 # (Optional but recommended) Set a DNS server # (Optional but recommended) Set a DNS server
  • tips/proxmox.1761288006.txt.gz
  • Last modified: 2025/10/24 08:40
  • by sscipioni