Created
April 6, 2022 22:11
-
-
Save jstrosch/07126ed964203075a1d4815a42a1f9de to your computer and use it in GitHub Desktop.
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/sh | |
set -e | |
echo "Removing existing dummy interface." | |
nmcli con delete dummy-dummy0 || true | |
echo "Adding dummy0." | |
nmcli con add ifname dummy0 type dummy ipv4.method link-local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment