From ab3563d621c7392fd0de5ab01e8816799514267d Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Mon, 29 Jan 2024 17:14:43 +0900 Subject: [PATCH] Fixes the DIB script This PR adds the "-y" option to the "add-apt-repository" script to prevent from asking the yes/no question while installing openstack automatically. Change-Id: Ic6c86b95da28c4a3f2ab0a4c918e291a7e1b9bb3 --- .../scripts/files/elements/ubuntu-docker/install.d/21-docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/scripts/files/elements/ubuntu-docker/install.d/21-docker b/integration/scripts/files/elements/ubuntu-docker/install.d/21-docker index 5b8fe7fc96..0a9ed7561d 100755 --- a/integration/scripts/files/elements/ubuntu-docker/install.d/21-docker +++ b/integration/scripts/files/elements/ubuntu-docker/install.d/21-docker @@ -11,7 +11,7 @@ GUEST_USERNAME=${GUEST_USERNAME:-"ubuntu"} echo "Installing docker" export DEBIAN_FRONTEND=noninteractive curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - -add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu ${DIB_RELEASE} stable" +add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu ${DIB_RELEASE} stable" apt-get update apt-get install -y -qq docker-ce >/dev/null apt-get clean