Browse Source

Allow unauthenticated packages in the deployment scripts

DocImpact
Change-Id: Ib9464781fefd958d7ef4dfb5c9bf36aa7adcc663
Closes-Bug: #1622506
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Maksim Malchuk 2 years ago
parent
commit
4983c5c7d0

+ 1
- 1
examples/fuel_plugin_example_v1/deployment_scripts/deploy.sh View File

@@ -13,7 +13,7 @@ fi
13 13
 
14 14
 function install_package {
15 15
     if [ $OS_NAME == 'ubuntu' ]; then
16
-        apt-get install -y fuel-simple-service
16
+        apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service
17 17
     elif [ $OS_NAME == 'centos' ]; then
18 18
         yum install -y fuel-simple-service
19 19
     fi

+ 1
- 1
examples/fuel_plugin_example_v2/deployment_scripts/deploy.sh View File

@@ -13,7 +13,7 @@ fi
13 13
 
14 14
 function install_package {
15 15
     if [ $OS_NAME == 'ubuntu' ]; then
16
-        apt-get install -y fuel-simple-service
16
+        apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service
17 17
     elif [ $OS_NAME == 'centos' ]; then
18 18
         yum install -y fuel-simple-service
19 19
     fi

+ 1
- 1
examples/fuel_plugin_example_v2_update/deployment_scripts/deploy.sh View File

@@ -13,7 +13,7 @@ fi
13 13
 
14 14
 function install_package {
15 15
     if [ $OS_NAME == 'ubuntu' ]; then
16
-        apt-get install -y fuel-simple-service
16
+        apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service
17 17
     elif [ $OS_NAME == 'centos' ]; then
18 18
         yum install -y fuel-simple-service
19 19
     fi

+ 2
- 2
examples/fuel_plugin_example_v3/deployment_scripts/deploy.sh View File

@@ -13,11 +13,11 @@ fi
13 13
 
14 14
 function install_package {
15 15
     if [ $OS_NAME == 'ubuntu' ]; then
16
-        apt-get install -y fuel-simple-service
16
+        apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service
17 17
     elif [ $OS_NAME == 'centos' ]; then
18 18
         yum install -y fuel-simple-service
19 19
     fi
20 20
 }
21 21
 
22 22
 install_package
23
-fuel-simple-service.py &
23
+fuel-simple-service.py &

+ 2
- 2
examples/fuel_plugin_example_v4/deployment_scripts/deploy.sh View File

@@ -13,11 +13,11 @@ fi
13 13
 
14 14
 function install_package {
15 15
     if [ $OS_NAME == 'ubuntu' ]; then
16
-        apt-get install -y fuel-simple-service
16
+        apt-get install -y --force-yes -o 'APT::Get::AllowUnauthenticated=1' fuel-simple-service
17 17
     elif [ $OS_NAME == 'centos' ]; then
18 18
         yum install -y fuel-simple-service
19 19
     fi
20 20
 }
21 21
 
22 22
 install_package
23
-fuel-simple-service.py &
23
+fuel-simple-service.py &

Loading…
Cancel
Save