Skip to content

Instantly share code, notes, and snippets.

@cdot65
Last active November 11, 2024 01:11
Show Gist options
  • Save cdot65/595e09f7d599024d65a56ee1cfc3abb2 to your computer and use it in GitHub Desktop.
Save cdot65/595e09f7d599024d65a56ee1cfc3abb2 to your computer and use it in GitHub Desktop.
Short steps required to spin up Palo Alto Networks' VM-Series on Proxmox

VM-Series on Proxmox

Special thanks to Zach Forsyth

Order of operations

  1. SSH into your Proxmox server
ssh root@pve1
  1. Download QCOW2 image from support
wget https://download.somewhere.com/PA-VM-KVM-10.2.3.qcow2
  1. Create the VM

Make sure to update accordingly, I would suggest changing values for --name and all of the networks --net1-3

qm create 867 \
--name palo-fw-template \
--agent enabled=1 \
--machine q35 \
--bios seabios \
--numa 0 \
--cpu host \
--ostype l26 \
--cores 2 \
--sockets 1 \
--memory 6144  \
--serial0 socket \
--scsihw virtio-scsi-pci \
--boot order='virtio0' \
--hotplug disk,network,usb,cpu \
--net0 virtio,bridge=vmbr0,tag=60 \
--net1 virtio,bridge=vmbr0,tag=1101 \
--net2 virtio,bridge=vmbr0,tag=1102 \
--net3 virtio,bridge=vmbr0,tag=1103
  1. Import the VM-Series disk

Update your storage path accordingly, in this example I am using local-lvm

qm importdisk 867 PA-VM-KVM-10.2.3.qcow2 local-lvm --format qcow2
  1. Attach the disk to your VM
qm set 867 --virtio0 local-lvm:vm-867-disk-0,discard=on,cache=writeback
  1. Start your VM
qm start 867
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment