Though it says in documents that Panorama is supported in EVE-NG, you will notice that you really cannot find a device name called Panorama in drop down menu where you try to add a new node.
Anyhow here is the way to do it.
1st of all you need a KVM image of Panorama. You will fill find it on Palo Alto Customer Support Portal of course if you have a login.
I cannot put a link to it here because they are copyrighted content. 😒
Go to Customer Support Portal > Updates > Software Updates & Select Panorama Base Images.
I downloaded Panorama-KVM-8.1.2.qcow2
Now you will have to access the EVE-NG through CLI or and a file transfer software like WinSCP.
I used WinSCP as the software..
Because this new versions of EVE uses different set of templates for different hardware CPU processors (Intel or AMD), you will have to find out what is yours..
If you don't know that, follow the following command on CLI,
lsmod | grep ^kvm_
So as you can see, my one is Intel,
Now use WinSCP to navigate to the following location on EVE,
opt/unetlab/html/templates/intel
If your one was based on AMD, the path will be opt/unetlab/html/templates/amd
Now grab a one YML script which suits the Panorama mostly. There was this newimage.yml script so I thought to use it for this. Just copy it from EVE to your working PC desktop and the open it;
Now you will see something like the above, note that I have edited the underlined parameters to match with Panorama.
Note:-
Icon name was the icon image file which shows in the workspace when we add this to a lab. I didn't want to upload an image for that because it was already there.
Also remember that the description is the key which will be seen on the dropdown list where you try to add a new device.
Ok then I renamed the file as panorama.yml and uploaded it to opt/unetlab/html/templates/intel
Then I navigated to /opt/unetlab/addons/qemu and created a folder named panorama-8.1.2
Note:-
This naming of folders are very important, I should use a name starting with panorama- as the folder name because I named the YML file as panorama. If I have used something like pano.yml as the script name, I would have to use an image folder name starting with "pano-". Rest of the folder name can be anything like the version of the image.
Now go inside the image folder and upload the KVM image and rename it as virtioa.qcow2
Now go the EVE CLI and enter the following command to fix permissions..
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Now the drop down will show it & you will be able to add a Panorama to a lab successfully..
Default username and passwords are admin/admin
No comments:
Post a Comment