mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
teuthology-nuke: reset rsyslog config
This commit is contained in:
parent
d079d51037
commit
e8676ce0eb
@ -202,6 +202,15 @@ def nuke():
|
||||
'/tmp/cephtest/binary/usr/local/bin/cmds',
|
||||
'/tmp/cephtest/binary/usr/local/bin/cfuse',
|
||||
run.Raw(';'),
|
||||
'if', 'test', '-e', '/etc/rsyslog.d/80-cephtest.conf',
|
||||
run.Raw(';'),
|
||||
'then',
|
||||
'sudo', 'rm', '-f', '--', '/etc/rsyslog.d/80-cephtest.conf',
|
||||
run.Raw('&&'),
|
||||
'sudo', 'initctl', 'restart', 'rsyslog',
|
||||
run.Raw(';'),
|
||||
'fi',
|
||||
run.Raw(';'),
|
||||
'find', '/tmp/cephtest', '-maxdepth', '1', '-name', 'mnt.*',
|
||||
'-execdir', 'fusermount', '-u', '{}', ';',
|
||||
run.Raw(';'),
|
||||
|
Loading…
Reference in New Issue
Block a user