Skip to content

Instantly share code, notes, and snippets.

@stevenproctor
Created July 28, 2017 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenproctor/2b2c291edfadbebd504badbe089f28c8 to your computer and use it in GitHub Desktop.
Save stevenproctor/2b2c291edfadbebd504badbe089f28c8 to your computer and use it in GitHub Desktop.
OSX Launch Daemon to add loopback address
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>loopback</string>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>ifconfig</string>
<string>lo0</string>
<string>alias</string>
<string>10.200.10.1/24</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment