summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-02-07 11:35:37 +0200
committerPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-02-07 11:36:55 +0200
commite30492b03da57856ab6e36d2949d9766df9cdcff (patch)
tree4cf9ac905f264bbf62e58407d68c12ba562f7d24
parentbbfa8eada7d366f860f5d2bf394173968a8c91ae (diff)
Use sudo in systemctl unmask call
systemctl is generally not accessible w/o sudo. Change-Id: I205d55670d8225002d0d04fca30c02af665174d4
Notes
Notes (review): Code-Review+1: Drew Walters <drewwalters96@gmail.com> Code-Review+1: Kaspars Skels <kaspars.skels@gmail.com> Code-Review+2: Matt McEuen <matt.mceuen@att.com> Code-Review+1: Evgeniy L <eli@mirantis.com> Code-Review+2: Bryan Strassner <strassner.bryan@gmail.com> Workflow+1: Bryan Strassner <strassner.bryan@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Mar 2019 23:50:27 +0000 Reviewed-on: https://review.openstack.org/635463 Project: openstack/airship-treasuremap Branch: refs/heads/master
-rwxr-xr-xtools/deployment/airskiff/developer/000-install-packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/deployment/airskiff/developer/000-install-packages.sh b/tools/deployment/airskiff/developer/000-install-packages.sh
index 1a4bf2d..0f31ecf 100755
--- a/tools/deployment/airskiff/developer/000-install-packages.sh
+++ b/tools/deployment/airskiff/developer/000-install-packages.sh
@@ -32,7 +32,7 @@ sudo apt-get install --no-install-recommends -y \
32 software-properties-common 32 software-properties-common
33 33
34# Purge Docker and install Docker CE 34# Purge Docker and install Docker CE
35systemctl unmask docker.service 35sudo systemctl unmask docker.service
36sudo apt-get remove --no-install-recommends -y docker docker-engine docker.io 36sudo apt-get remove --no-install-recommends -y docker docker-engine docker.io
37curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 37curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
38sudo apt-add-repository \ 38sudo apt-add-repository \