Skip to content

Commit a8a7edb

Browse files
authored
[generate_dump] exclude mft and mlx folders from /etc (sonic-net#2072)
- What I did Exclude mft and mlnx folders from /etc during execution generate_dump - How I did it Fix appropriate --exclude pattern in tar cmd execution (add * character ) - How to verify it py.test show_techsupport/test_techsupport_no_secret.py --inventory="../ansible/inventory,../ansible/veos" --host-pattern (testbad) --module-path ../ansible/library/ --testbed (testbad)-(topo) --testbed_file ../ansible/testbed.csv --allow_recover --assert plain --log-cli-level info --show-capture=no -ra --showlocals -v --skip_sanity Signed-off-by: Andriy Yurkiv <[email protected]>
1 parent 398da58 commit a8a7edb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate_dump

+2-2
Original file line numberDiff line numberDiff line change
@@ -1314,8 +1314,8 @@ main() {
13141314
--exclude="*/etc/ssh*" \
13151315
--exclude="*get_creds*" \
13161316
--exclude="*snmpd.conf*" \
1317-
--exclude="/etc/mlnx" \
1318-
--exclude="/etc/mft" \
1317+
--exclude="*/etc/mlnx" \
1318+
--exclude="*/etc/mft" \
13191319
--exclude="*/etc/sonic/*.cer" \
13201320
--exclude="*/etc/sonic/*.crt" \
13211321
--exclude="*/etc/sonic/*.pem" \

0 commit comments

Comments
 (0)