From 8cfd8b6cf2450b6ff6a51b9d380ea438692b4a43 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Sun, 2 Oct 2011 13:17:31 -0400 Subject: [PATCH] apt-get needs sudo'd --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 3184ca9..3d0db93 100755 --- a/stack.sh +++ b/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