From 23ce38219cb9bc6314ef37d4adee5aecfc0a91d0 Mon Sep 17 00:00:00 2001 From: openoms Date: Sat, 23 Nov 2024 17:06:37 +0100 Subject: [PATCH] add apt-add-reposirory -y --- ci/amd64/packer.build.amd64-debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/amd64/packer.build.amd64-debian.sh b/ci/amd64/packer.build.amd64-debian.sh index 8da4c62..1970b41 100644 --- a/ci/amd64/packer.build.amd64-debian.sh +++ b/ci/amd64/packer.build.amd64-debian.sh @@ -3,7 +3,7 @@ # install packer if ! packer version 2>/dev/null; then curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - - sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" + sudo apt-add-repository -y "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" sudo apt-get update echo -e "\nInstalling packer..." sudo apt-get install -y packer