[Unit] Description=Proxmox VM (QEMU) After=network.target [Service] Type=simple ExecStart=/usr/bin/qemu-system-x86_64 \ -enable-kvm \ -cpu host \ -m 4096 \ -smp 4 \ -drive file=/root/proxmox-disk.qcow2,format=qcow2 \ -boot order=c \ -nographic \ -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::8006-:8006 \ -device virtio-net-pci,netdev=net0 Restart=always [Install] WantedBy=multi-user.target