AREDN VM Install: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<pre> | |||
VM_NAME=K0RAP-AUR-SUPERNODE | VM_NAME=K0RAP-AUR-SUPERNODE | ||
VM_ID=$(pvesh get /cluster/nextid) | VM_ID=$(pvesh get /cluster/nextid) | ||
| Line 7: | Line 8: | ||
IMAGE=./aredn-3.23.12.0-x86-64-generic-ext4-combined.img | IMAGE=./aredn-3.23.12.0-x86-64-generic-ext4-combined.img | ||
qm create --name $VM_NAME | 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 --scsihw virtio-scsi-pci --virtio0 $STORAGE:$VM_ID/vm-$VM_ID-disk-0.raw | ||
| Line 17: | Line 14: | ||
qm set $VM_ID --serial0 socket --vga serial0 | qm set $VM_ID --serial0 socket --vga serial0 | ||
qm set $VM_ID --boot c --bootdisk virtio0 | qm set $VM_ID --boot c --bootdisk virtio0 | ||
</pre> | |||
Latest revision as of 00:44, 1 January 2024
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