-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is to fix issue #3330 so multiline output won't break the module. Some cumulus commands results do not end with \n, so the prompt gets polluted by the trailing line of the previous command. This is the case of `cat /etc/cumulus/ports.conf`, so we an echo to it to get an LF at EOF.. --------- Co-authored-by: Robert Cheramy <r.cheramy@netze-bw.de> Co-authored-by: Michał Margula <mmargula@squiz.pl>
- Loading branch information
1 parent
7cfa1ae
commit d9639c8
Showing
9 changed files
with
1,924 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cat /etc/hostname | ||
cat /etc/hosts | ||
grep -r "" /etc/network/interface* | cut -d "/" -f 4- | ||
cat /etc/resolv.conf | ||
cat /etc/ntp.conf | ||
cat /etc/snmp/snmpd.conf | ||
cat /etc/frr/daemons | ||
cat /etc/frr/zebra.conf | ||
cat /etc/frr/bgpd.conf | ||
cat /etc/frr/ospfd.conf | ||
cat /etc/frr/ospf6d.conf | ||
cat /etc/frr/frr.conf | ||
cat /etc/motd | ||
cat /etc/passwd | ||
cat /etc/cumulus/switchd.conf | ||
cat /etc/cumulus/ports.conf | ||
cat /etc/cumulus/datapath/traffic.conf | ||
cat /etc/cumulus/acl/policy.conf | ||
cat /etc/default/isc-dhcp-relay | ||
cat /etc/cumulus/etc.replace/os-release | ||
cl-license | ||
exit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net show configuration commands | ||
exit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nv config show --color off | ||
exit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cat /etc/hostname | ||
cat /etc/hosts | ||
grep -r "" /etc/network/interface* | cut -d "/" -f 4- | ||
cat /etc/resolv.conf | ||
cat /etc/ntp.conf | ||
cat /etc/snmp/snmpd.conf | ||
cat /etc/quagga/daemons | ||
cat /etc/quagga/zebra.conf | ||
cat /etc/quagga/bgpd.conf | ||
cat /etc/quagga/ospfd.conf | ||
cat /etc/quagga/ospf6d.conf | ||
cat /etc/quagga/Quagga.conf | ||
cat /etc/motd | ||
cat /etc/passwd | ||
cat /etc/cumulus/switchd.conf | ||
cat /etc/cumulus/ports.conf | ||
cat /etc/cumulus/datapath/traffic.conf | ||
cat /etc/cumulus/acl/policy.conf | ||
cat /etc/default/isc-dhcp-relay | ||
cat /etc/cumulus/etc.replace/os-release | ||
cl-license | ||
exit |
Oops, something went wrong.