Commit eb5760a0 by Czémán Arnold

freebsd: fix filelist in cleanup method

Issue: #23
parent 451e5a07
......@@ -200,19 +200,19 @@ class Context(BaseContext):
@staticmethod
def cleanup():
filelist = ([
'/root/.bash_history'
'/home/cloud/.bash_history'
'/root/.ssh'
'/home/cloud/.ssh'
'/root/.lesshst'
'/home/cloud/.lesshst'
'/root/.history'
'/home/cloud/.history'
'/root/.viminfo'
'/home/cloud/.viminfo'
'/etc/nsmb.conf'
'/root/.nsmbrc.conf'
'/home/cloud/.nsmbrc.conf'
'/root/.bash_history',
'/home/cloud/.bash_history',
'/root/.ssh',
'/home/cloud/.ssh',
'/root/.lesshst',
'/home/cloud/.lesshst',
'/root/.history',
'/home/cloud/.history',
'/root/.viminfo',
'/home/cloud/.viminfo',
'/etc/nsmb.conf',
'/root/.nsmbrc.conf',
'/home/cloud/.nsmbrc.conf',
]
+ glob('/etc/ssh/ssh_host_*'))
for f in filelist:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment