Do not run dnf update -y after configuring ceph repos

This isn't required with dnf and can overwrite package downgrades
working around other issues in the underlying OS.
Change-Id: I6940f06c14a0e41d63d632724e85bb790229f307
This commit is contained in:
Lee Yarwood
2020年09月24日 18:31:01 +01:00
parent 001f3a9b3a
commit caf3ebeaba

View File

@@ -954,11 +954,10 @@ function configure_repo_ceph {
if is_ubuntu; then
sudo apt-add-repository -y "deb https://download.ceph.com/debian-${ceph_release}/ ${distro_release} main"
sudo ${package_manager} -y update
elif is_fedora; then
dnf_add_repository_ceph ${ceph_release} ${distro_release}
fi
sudo ${package_manager} -y update
}
# cleanup_repo_ceph() - Remove Ceph repositories
@@ -986,16 +985,15 @@ function configure_repo_nfsganesha {
local ceph_release="3ドル"
if is_ubuntu; then
# FIXME(vkmc) We need to use community ppa's because there is no build available
# for ubuntu xenial and above for nfs-ganesha-2.7.
# Remove this when they provide the build in download.ceph.com
sudo add-apt-repository -y ppa:nfs-ganesha/libntirpc-1.7
sudo add-apt-repository -y ppa:nfs-ganesha/nfs-ganesha-2.7
# FIXME(vkmc) We need to use community ppa's because there is no build
# available for ubuntu xenial and above for nfs-ganesha-2.7.
# Remove this when they provide the build in download.ceph.com
sudo add-apt-repository -y ppa:nfs-ganesha/libntirpc-1.7
sudo add-apt-repository -y ppa:nfs-ganesha/nfs-ganesha-2.7
sudo ${package_manager} -y update
elif is_fedora; then
dnf_add_repository_nfsganesha ${ganesha_release} ${ceph_release}
fi
sudo ${package_manager} -y update
}
# cleanup_repo_nfsganesha() - Remove NFS Ganesha repositories
Reference in New Issue
openstack/devstack-plugin-ceph
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.