Skip to main content
doncacciatoconsuting
Explorer II
January 3, 2025
Solved

FortiNAC-F deploy on KVM

  • January 3, 2025
  • 3 replies
  • 1638 views

I am following this doc.

https://docs.fortinet.com/document/fortinac-f/7.2.0/kvm-deployment-guide/31945

 

./deploy_kvm <domain_name>

 

1- what is meant by "domain name" in this case?

2 - Didn't know what that was so I just used "nac".

 

After running the script, I got the following errors and cannot proceed.

./deploy_kvm: line 164: virsh: command not found
./deploy_kvm: line 165: sudo: command not found

 

Any ideas ?

Best answer by AEK

Hi Donca

I'd say the image you downloaded may not be suitable for Proxmox, even if it is for KVM.

Because it seams virsh and sudo are not available on Proxmox hypervisor (I don't know well Proxmox but that's what I understand from your error messages).

On the other hand I can't find anywhere that FNAC is supported on Proxmox.

Personally I'd try the following:

  1. Deploy FortiNAC on a KVM host, like any Linux server with a KVM hypervisor
  2. Once deployed, export the VM (if required)
  3. The import it on your Proxmox

I didn't test it but I think it is worth a try. But still it may not be supported, even if it works.

3 replies

doncacciatoconsuting
Explorer II
January 3, 2025

Note this is being installed on a Proxmox 8.3 server.

ebilcari
Staff
Staff
January 6, 2025

There are some customer that have used Proxmox as hypervisor for KVM image, check if there is any special configuration for this hypervisor. You should avoid using 'nac' in any configuration since it may cause issues, some details here.

Emirjon
AEK
SuperUser
AEKAnswer
SuperUser
January 4, 2025

Hi Donca

I'd say the image you downloaded may not be suitable for Proxmox, even if it is for KVM.

Because it seams virsh and sudo are not available on Proxmox hypervisor (I don't know well Proxmox but that's what I understand from your error messages).

On the other hand I can't find anywhere that FNAC is supported on Proxmox.

Personally I'd try the following:

  1. Deploy FortiNAC on a KVM host, like any Linux server with a KVM hypervisor
  2. Once deployed, export the VM (if required)
  3. The import it on your Proxmox

I didn't test it but I think it is worth a try. But still it may not be supported, even if it works.

AEK
jramosalarcon
Staff
Staff
April 23, 2025

Hi Donca, I actually had the same problem with the deployment, I followed the process on the following link (https://ostechnix.com/import-qcow2-into-proxmox/) to import the qcow2 into proxmox vm, and it looks like it's working.