Created
July 1, 2018 01:01
-
-
Save dweomer/3bd9c26b740f76286efc61a4b902e876 to your computer and use it in GitHub Desktop.
macOS loopback alias 127.0.1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>loopback.alias</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/sbin/ifconfig</string> | |
<string>lo0</string> | |
<string>alias</string> | |
<string>127.0.1.1</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Drop this at
/Library/LaunchDaemons/loopback.alias.plist
or/System/Library/LaunchDaemons/loopback.alias.plist
so it will get picked up at boot-time and have the proper permissions.