Tweak ganesha repo cleanup

Add a glob pattern at the end of the file removals so that we
also capture items like
  nfs-ganesha-ubuntu-libntirpc-3_0-focal.list.save
which can otherwise cause issues next time we stack
(install_prereqs sees it and gets confused).

Change-Id: I6bb75a75972c47fa87f0d703dda242d2b9bb07b7
This commit is contained in:
Tom Barron 2020-12-08 12:01:24 -05:00
parent d2efe37715
commit 68b6ec14fd
1 changed files with 2 additions and 2 deletions

View File

@ -1019,8 +1019,8 @@ function cleanup_repo_nfsganesha {
# FIXME(vkmc) We need to use community ppa's because there are no builds
# for ubuntu bionic and ubuntu focal available for nfs-ganesha 2.7 and above
# Remove this when they provide the builds in download.ceph.com
sudo rm -rf /etc/apt/sources.list.d/nfs-ganesha-ubuntu-libntirpc-3_0-*.list
sudo rm -rf /etc/apt/sources.list.d/nfs-ganesha-ubuntu-nfs-ganesha-3_0-*.list
sudo rm -rf /etc/apt/sources.list.d/nfs-ganesha-ubuntu-libntirpc-3_0-*.list*
sudo rm -rf /etc/apt/sources.list.d/nfs-ganesha-ubuntu-nfs-ganesha-3_0-*.list*
elif is_fedora; then
sudo rm -rf /etc/yum.repos.d/nfs-ganesha.repo
fi