Subsequent installation of Windows VM with vm-installer
The -S620 and -S621 ordering options can be subsequently installed on existing TwinCAT/BSD devices using the program vm-installer
.
A valid TwinCAT/BSD and Windows VM license is required. Both licenses can be requested as a license upgrade from Beckhoff Service (service@beckhoff.com).
When you order the Windows VM, you will be provided with a personal download link for the Windows disk image.
You can load the image directly onto the TwinCAT/BSD host with the following fetch(8) command. Alternatively, the loaded file can also be copied to the TwinCAT/BSD system using WinSCP.
fetch https://fileexchange.beckhoff.com/fop/dMtKokIr/IN-0410-0612-08-1-154031.raw.zstd
The compressed disk image can then be unzipped with unzstd(8) and written to the windows.raw file as follows:
unzstd -o windows.raw IN-0410-0612-08-1-154031.raw.zstd
The unpacked disk image (windows.raw) is used by the program vm-installer
to configure a virtual machine according to the S620 or S621 option.
The program vm-installer
is installed with the following pkg
call:
doas pkg install -y vm-installer
To install a Windows VM according to the ordering option C9900-S620 with vm-installer
on the system, the following call can be used:
doas vm-installer install \
--logfolder="/var/log/windowsvm" \
--nat-if=em0 \
--windows-activation="ACTIVE" \
--passthru \
windows.raw
To install a Windows VM according to the ordering option C9900-S621, the following call can be used:
doas vm-installer install \
--logfolder="/var/log/windowsvm" \
--nat-if=em0 \
--windows-activation="ACTIVE" \
windows.raw
In both cases, the disk image windows.raw
is initialized and the Windows guest system is set up accordingly.
After installation, the status of the VM can be queried using the command doas service luemuctl_windowsvm status
.
The running Windows VM can be accessed by the user via remote desktop using the IP address of the TwinCAT/BSD host.