1

When using UTM on a Mac with a Ubuntu guest in it, I need to obtain the host IP address (of my Mac) from the guest to mount its file system by sshfs (or any other mount). It runs UTM based on QEMU. I searched the internet on it, but only found the other way around: the guest IP address which is easy.

1 Answers1

0

I can think of a couple of options here::

  1. Write the IP address of the host into a file & mount the file onto guest OS
  2. Install hypervisor-specific RPMs on guest VM like vmtoolsd for VMware, hypervkvpd for HyperV, etc., With these packages, you could fetch a few required attributes from a host like a hostname, IP address, etc.,
harshavmb
  • 121