Last active
April 20, 2019 11:01
-
-
Save wido/67c93a05c6f40d21dc1154dc44575bc8 to your computer and use it in GitHub Desktop.
Cumulus Linux Services in Management VRF
This file contains hidden or 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 | |
# | |
# Configure the Management services in Cumulus Linux to only run in the management VRF | |
# | |
# Author: Wido den Hollander <[email protected]> | |
# | |
# https://docs.cumulusnetworks.com/display/DOCS/Management+VRF | |
for SERVICE in ssh ntp snmpd; do | |
systemctl stop ${SERVICE}.service | |
systemctl disable ${SERVICE}.service | |
systemctl start ${SERVICE}@mgmt.service | |
systemctl enable ${SERVICE}@mgmt.service | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment