From 4983c5c7d0552580898b0321664528b3dddbdb70 Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Mon, 12 Sep 2016 15:52:50 +0300 Subject: [PATCH] Allow unauthenticated packages in the deployment scripts DocImpact Change-Id: Ib9464781fefd958d7ef4dfb5c9bf36aa7adcc663 Closes-Bug: #1622506 Signed-off-by: Maksim Malchuk --- examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh | 2 +- examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh | 2 +- .../deployment_scripts/deploy.sh | 2 +- examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh | 4 ++-- examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh b/examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh index cada54e..601749f 100755 --- a/examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh +++ b/examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh @@ -13,7 +13,7 @@ fi function install_package { if [ $OS_NAME == 'ubuntu' ]; then - apt-get install -y fuel-simple-service + apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service elif [ $OS_NAME == 'centos' ]; then yum install -y fuel-simple-service fi diff --git a/examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh b/examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh index cada54e..601749f 100755 --- a/examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh +++ b/examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh @@ -13,7 +13,7 @@ fi function install_package { if [ $OS_NAME == 'ubuntu' ]; then - apt-get install -y fuel-simple-service + apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service elif [ $OS_NAME == 'centos' ]; then yum install -y fuel-simple-service fi diff --git a/examples/fuel_plugin_example_v2_update/deployment_scripts/deploy.sh b/examples/fuel_plugin_example_v2_update/deployment_scripts/deploy.sh index cada54e..601749f 100755 --- a/examples/fuel_plugin_example_v2_update/deployment_scripts/deploy.sh +++ b/examples/fuel_plugin_example_v2_update/deployment_scripts/deploy.sh @@ -13,7 +13,7 @@ fi function install_package { if [ $OS_NAME == 'ubuntu' ]; then - apt-get install -y fuel-simple-service + apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service elif [ $OS_NAME == 'centos' ]; then yum install -y fuel-simple-service fi diff --git a/examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh b/examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh index c1399df..7f22244 100755 --- a/examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh +++ b/examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh @@ -13,11 +13,11 @@ fi function install_package { if [ $OS_NAME == 'ubuntu' ]; then - apt-get install -y fuel-simple-service + apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service elif [ $OS_NAME == 'centos' ]; then yum install -y fuel-simple-service fi } install_package -fuel-simple-service.py & \ No newline at end of file +fuel-simple-service.py & diff --git a/examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh b/examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh index b2a92d9..cdd2614 100755 --- a/examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh +++ b/examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh @@ -13,11 +13,11 @@ fi function install_package { if [ $OS_NAME == 'ubuntu' ]; then - apt-get install -y fuel-simple-service + apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service elif [ $OS_NAME == 'centos' ]; then yum install -y fuel-simple-service fi } install_package -fuel-simple-service.py & \ No newline at end of file +fuel-simple-service.py &