Last active
April 2, 2023 21:10
-
-
Save whytheplatypus/4692693 to your computer and use it in GitHub Desktop.
Quickly enable mdns on a smartos machine.
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
#!/bin/bash | |
mv /etc/nsswitch.conf /etc/nsswitch.conf_old | |
cp /etc/nsswitch.dns /etc/nsswitch.conf | |
svcadm enable multicast | |
svcs multicast |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment