I want to write a script that can add new hosts to /etc/hosts from within a virtual machine as I use VMs for web development and need to set up virtualhosts that are accessible from the host machine.
Obviously I can do this manually, but where's the fun in that?
I was wondering if there's a way to communicate with the host machine other than via the network - my guess is no but maybe there is something?