Browse Source

Use sudo in systemctl unmask call

systemctl is generally not accessible w/o sudo.

Change-Id: I205d55670d8225002d0d04fca30c02af665174d4
tags/v19.03.06^2
Pavlo Shchelokovskyy 3 months ago
parent
commit
e30492b03d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tools/deployment/airskiff/developer/000-install-packages.sh

+ 1
- 1
tools/deployment/airskiff/developer/000-install-packages.sh View File

@@ -32,7 +32,7 @@ sudo apt-get install --no-install-recommends -y \
32 32
         software-properties-common
33 33
 
34 34
 # Purge Docker and install Docker CE
35
-systemctl unmask docker.service
35
+sudo systemctl unmask docker.service
36 36
 sudo apt-get remove --no-install-recommends -y docker docker-engine docker.io
37 37
 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
38 38
 sudo apt-add-repository \

Loading…
Cancel
Save