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