From 8115ceac4519dbaaf1f2a9971df50deb332b975c Mon Sep 17 00:00:00 2001 From: saifullah-N Date: Mon, 6 Feb 2023 11:09:37 +0530 Subject: [PATCH] Fix SSL certificate issue with mirror --- scripts/gplan-init-dev-img.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/gplan-init-dev-img.sh b/scripts/gplan-init-dev-img.sh index cfa9d4e..4eb4d7e 100755 --- a/scripts/gplan-init-dev-img.sh +++ b/scripts/gplan-init-dev-img.sh @@ -4,8 +4,6 @@ export LC_ALL=C cd /mnt/host # Update the system -apt-get update -#apt-get dist-upgrade -y - +apt -o "Acquire::https::Verify-Peer=false" update # Install packages -apt-get install -y scons build-essential libssl-dev python3-dev +apt -o "Acquire::https::Verify-Peer=false" install -y scons build-essential libssl-dev python3-dev