Open navhos opened 7 years ago
The name has to be the name of the VM as known to libvirt. The private IP has to be the one known to the host. And for the host map, the first number is the port on the host. The second number is the port on the VM.
The documentation could be clearer about the filename. I suspect that qemu.json is a reference to what it was called previously and the documentation is not updated? Or vice versa? In any case, the installation does not create the qemu.json file so either the user is expected to create it themselves, or they should edit hooks.json. But from what I can tell, hooks.json is the file that is read
The qemu.json file cannot be found in /etc/libvirt/hooks/. However, hooks.json is located there. These are the contents of hooks.json:
Could anyone advise on how I can edit this file to suit my network configuration settings? I am using an ethernet connection on the host machine(Ubuntu 16.04LTS), and a NAT configuration on Cent OS 7 VMs.