]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: pass "-y" to "dnf copr enable" 32412/head
authorKefu Chai <kchai@redhat.com>
Thu, 26 Dec 2019 07:07:04 +0000 (15:07 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 26 Dec 2019 07:07:53 +0000 (15:07 +0800)
otherwise the copr repo won't be enabled. and dnf will bail out with
following message:

Do you really want to enable copr.fedorainfracloud.org/ktdreyer/ceph-el8? [y/N]: Error: Safe and good
answer. Exiting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index f141f6f1596c4c08948af12481cb68e3144a2839..978e8eba0bfd145d78d73325f34d69274705ba12 100755 (executable)
@@ -371,7 +371,7 @@ else
                    # before EPEL8 and PowerTools provide all dependencies, we use sepia for the dependencies
                    $SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
                    $SUDO dnf config-manager --setopt gpgcheck=0 apt-mirror.front.sepia.ceph.com_lab-extras_8_ --save
-                   $SUDO dnf copr enable ktdreyer/ceph-el8
+                   $SUDO dnf copr enable -y ktdreyer/ceph-el8
                 elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
                     $SUDO subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
                 fi