Fix non-interactive mode for apt
Since sudo was laucnhed after setting DEBIAN_FRONTEND variable, noninteractive wasn't working correctly during bindep installation. Also patch includes temporary fix which is generally adressed in [1] This is implemented to resolve cross-dependency and will be rolled back once general fix will land. [1] https://review.opendev.org/665244/ Change-Id: I44c6aa7a0266285ca67edca70cdc4450c64671d9
This commit is contained in:
parent
c8b921c668
commit
1084ff6d5a
@ -103,8 +103,8 @@ if [[ ${#BINDEP_PKGS} > 0 ]]; then
|
|||||||
;;
|
;;
|
||||||
ubuntu|debian)
|
ubuntu|debian)
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
sudo DEBIAN_FRONTEND=noninteractive \
|
||||||
sudo apt-get -q --option "Dpkg::Options::=--force-confold" \
|
apt-get -q --option "Dpkg::Options::=--force-confold" \
|
||||||
--assume-yes install ${BINDEP_PKGS}
|
--assume-yes install ${BINDEP_PKGS}
|
||||||
;;
|
;;
|
||||||
gentoo)
|
gentoo)
|
||||||
|
@ -23,3 +23,4 @@ container_networks:
|
|||||||
physical_host: localhost
|
physical_host: localhost
|
||||||
properties:
|
properties:
|
||||||
service_name: "{{ inventory_hostname }}"
|
service_name: "{{ inventory_hostname }}"
|
||||||
|
tempest_install_method: source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user