=====================
Import to XCP-ng
=====================

.. _NACVIEW_DOWNLOAD_LINK: https://nv3.nacview.com

NV3 was tested on XCP-ng version 8.3.0, although it should work without problems on any other XCP-ng version which is supported by the manufacturer.

------------------------
Prerequisites
------------------------

Easiest way to import NACVIEW to the XCP-ng is to use XOA appliance.

Requirements for virtal machine are listed :doc:`here </getting-started/about/system-information>`.

------------------
Download of image
------------------

1. Download image from `here <NACVIEW_DOWNLOAD_LINK_>`_.

2. Log in to XOA. From the menu on the left, select ***Import*** and then ***VM***.

.. thumbnail:: /_images/getting-started/import/xcp-ng/xcp1.png
    :width: 25 %

3. Upload the NACVIEW image to XOA, set the Name. Adjust the amount of RAM and vCPU and connect the network interfaces to the appropriate networks on XCP-ng.

.. thumbnail:: /_images/getting-started/import/xcp-ng/xcp2.png
    :width: 25 %

4. After the import is complete, XOA will automatically switch to the virtual machine view. Do not start the VM yet. Go to the virtual machine settings in the ***Advanced*** tab.

.. thumbnail:: /_images/getting-started/import/xcp-ng/xcp3.png
    :width: 25 %

5. Modify the virtual machine configuration by disabling the ***Network*** and ***DVD-Drive*** options in the ***Boot order*** section. In the ***Xen settings*** section, change the following options:
***Boot firmware*** to **uefi** (this is important). Set **Auto power on**, optionally (but also recommended) ***Protect from accidental deletion*** and also: ***Protect from accidental shutdown***. Do not forget to save the new settings by clicking the **Save** button.

.. thumbnail:: /_images/getting-started/import/xcp-ng/xcp4.png
    :width: 25 %

6. Go to the ***Console*** tab now and start the virtual machine. The NACVIEW system should start up.