Skip to content

Commit ca1df31

Browse files
committed
removed hosts file creation, as it was macos only
1 parent 352cc0e commit ca1df31

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mkvm.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ set_network_config() {
216216
log "Setting network bridge ${nic_bridge}..."
217217
execute "VBoxManage modifyvm \"${vm_name}\" --nic1 bridged --bridgeadapter1 \"${nic_bridge}\""
218218
chk error $? "Could not set Bridge"
219-
# Create a hosts file
220-
ifconfig en0 | grep "inet " |awk '{print $2 " hubhost"}' > /tmp/hosts
221-
# Send it to the VM
222-
copyto hosts /tmp/ "C:/Windows/System32/drivers/etc/hosts"
223219
}
224220

225221
# Find and set free Port for RDP-Connection.

0 commit comments

Comments
 (0)