These actions are performed while preparing the VM disk image and assuming that you have an active VM running the image.
This step is critical. If the VM Stub is not installed correctly, the VM will not integrate into the tiCrypt infrastructure.
All the steps in this section require root access for Linux and Administrator access for Windows.
Linux VM Stub installation
Make sure the tiCrypt package repository is installed.
Run as root
dnf install ticrypt-vm-controller
systemctl enable ticrypt-vm-controller.service
- At this point, the VM Stub is installed.
By default, SSH is installed and enabled in Linux. The next step is critical.
- Disable the SSH service with the command:
systemctl disable sshd
Alternatively, you can edit /etc/ssh/sshd_config and change the port from 22 to something else (i.e. 2022) if you still need SSH while you build the image.
Running SSH even on a different port in the final image is not recommended. As the last step, you should disable the SSH service.
Set up networking
As root, create the file /etc/sysconfig/network-scripts/ifcfg-eth0
with content. If another content is in place, remove it and replace it with this version.
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
When the image is prepared in tools like Virtual Box, the network name is different than tiCrypt infrastructure. The networking will not work without interface eth0 set up.
Windows VM Stub installation
Download the installer from link: https://storage.googleapis.com/ticrypt/vmc-installer/prod/v3.9.11/tiCryptVMControllerInstall-3.9.11.msi
- Follow the installation instructions.