timsutton/osx-vm-templates — pull request #2 by bradfeehan (2013-12-09 00:52:52+00:00)
Title: Refresh network interfaces each boot

This is necessary because Mavericks doesn't seem to automatically detect any changed network interfaces until the Network Preference pane is opened. By running "sudo networksetup -detectnewhardware" on each boot, the new network adapters are detected.

This change adds a Launch Daemon, which will run every time the machine is booted, that will refresh the network adapters configuration. This ensures that the machine will always have connectivity automatically immediately after boot.

Incorporates [feedback][1] on the initial implementation from @timsutton. Thanks!

[1]: