AREDN VM Install

From Useful notes
Revision as of 00:42, 1 January 2024 by Wcktklwn (talk | contribs) (Created page with "VM_NAME=K0RAP-AUR-SUPERNODE VM_ID=$(pvesh get /cluster/nextid) RAM=1024 CORES=1 BRIDGE=vmbr0 STORAGE=local-lvm IMAGE=./aredn-3.23.12.0-x86-64-generic-ext4-combined.img qm cre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

VM_NAME=K0RAP-AUR-SUPERNODE VM_ID=$(pvesh get /cluster/nextid) RAM=1024 CORES=1 BRIDGE=vmbr0 STORAGE=local-lvm IMAGE=./aredn-3.23.12.0-x86-64-generic-ext4-combined.img

qm create --name $VM_NAME \

 $VM_ID --memory $RAM \
 --cores $CORES --cpu cputype=kvm64 \
 --net0 virtio,bridge=$BRIDGE \
 --scsihw virtio-scsi-pci --numa 1

qm set $VM_ID --scsihw virtio-scsi-pci --virtio0 $STORAGE:$VM_ID/vm-$VM_ID-disk-0.raw

qm set $VM_ID --serial0 socket --vga serial0 qm set $VM_ID --boot c --bootdisk virtio0