Let me first say, that it does work for Linux guest. It doesn’t work on Windows guest because there is a know bug (/issue) with the default hardware layout – made of i440FX BIOS. VirtManager would not allow us to replace the settings, so we need to create the VM ourselves using XML. You can export your XML settings (of an existing VM) using the command
virsh dumpxml > /tmp/VM_NAME.xml
There are relevant fields there which you might want to save for later, like MAC addresses, network settings, and so on.
You can use this XML file to build your VM anew. Note that you will want to modify the network settings, the name and the UUID. Also – you will need a newer QEMU command (through the package qemu-system-x86), you can find in the Centos updates repository, . It has been providing me with /usr/bin/qemu-system-x86_64 command, which I am using, instead of the default qemu command used by default by VirtManager.
My Windows VM XML file (as a reference you can copy and use) is provided below. Major modifications are required to the hardware settings of the Windows VM – moving from PCI to PCIE, changing from IDE to SATA or VirtIO – and the provided XML gives a good reference of how this file should look like. This was taken from a machine tested to allow USB hot-add/remove via the method provided in my previous post.
Red Hat’s Anaconda installer, used by Red Hat Enterprise Linux, Oracle Linux, and other RHEL-like distributions, offers a powerful customization method through an additional product.img file. This technique allows you to modify the first boot sequence with relative ease. What is product.img? The product.img is an additional image file that can be used to override…
Due to a major disk crash, I have had to use my ‘other’ computer for VPN connections. It meant that I have had to prepare it for the operation. I attempted to login to aJuniper-based SSL-VPN connection, however, I did get a message saying that my 64bit Java was inadequate. I had a link, as…
Boel initrd files are actually compressed cramfs files. This is a menuscript for authoring and modifying these files, if needed. Assume the file in question is /tftpboot/install-initrd-i386.img: cp /tftpboot/install-initrd-i386.img /tmp/ cd /tmp/ gzip -S .img -d install-initrd-i386.img mount -o loop install-initrd-i386 /mnt mkdir initrd cd /mnt/ tar cf – . | (cd /tmp/initrd/ ; tar…
Working with RH Cluster quite a lot, I have decided to create an online store of customer agents/scripts. I have not, so far, invested the effort of making these agents accept settings from the cluster.conf file, but this might happen. Let the library be! Oracle DB script/agent: Although I discovered (a bit late) that RH…
This blog is my extended memory, and as such, its task is to remind me things I tend to forget, saving me the time required to search them again. So here is another one of these things. The network settings syntax for RHEL8/OEL8 or any of their compatible systems, when you want to pass these…
Assume a server has two network interfaces as follows: eth0 : 192.168.0.1/24 eth1 : 192.168.10.1/24 Let’s assume these interfaces reside on the different VLANs. Lets assume they were connected incorrectly, in such a way that eth0 is connected to VLAN 10, which servers 192.168.10.0/24 and eth1 is connected to VLAN 2, which serves 192.168.0.0/24. You…