Reply to comment

Import local hosts into VirtualBox guest VM

I have made a simple script to take the locally defined hosts & import them into a Windows virtual machine running on VirtualBox.

It means local testing domains defined in your Macs /etc/hosts file can be viewed from the Windows environment, combined with xdissent's ievms script it makes handling virtual machines a simple process.

Notes.

The script creates a batch file & then runs it inside the VM. The VM requires the virtualbox guest additions.

The hosts created inside the VM will use the IP address of the Mac, because 127.0.0.1 on the VM will loopback internally & never make it to the Mac.

The original idea was from issue #28 in the ievms queue.

Reply

  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <p>

More information about formatting options

Refresh
Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.