apt-get needs sudo'd
This commit is contained in:
parent
c6d3042e06
commit
8cfd8b6cf2
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
stack.sh
|
@ -316,7 +316,7 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then
|
|||
fi
|
||||
|
||||
if [[ "$LIBVIRT_TYPE" -eq "lxc" ]]; then
|
||||
apt-get install lxc -y
|
||||
sudo apt-get install lxc -y
|
||||
sudo mkdir -p /cgroup
|
||||
sudo mount none -t cgroup -o cpuacct,memory,devices,cpu,freezer,blkio /cgroup
|
||||
if ! grep -q cgroup /etc/fstab; then
|
||||
|
|
Loading…
Reference in a new issue