Use sudo in systemctl unmask call

systemctl is generally not accessible w/o sudo.

Change-Id: I205d55670d8225002d0d04fca30c02af665174d4
This commit is contained in:
Pavlo Shchelokovskyy 2019-02-07 11:35:37 +02:00
parent bbfa8eada7
commit e30492b03d
1 changed files with 1 additions and 1 deletions

View File

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