From eba18fbfa52b38fd1497cc87c03dd8674a9a1fa8 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Fri, 16 Sep 2011 14:35:14 -0700 Subject: [PATCH] add note to fix the process of adding user to group --- stack.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.sh b/stack.sh index 660a529..55ef2b5 100755 --- a/stack.sh +++ b/stack.sh @@ -320,6 +320,8 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then sudo modprobe nbd || true sudo modprobe kvm || true # user needs to be member of libvirtd group for nova-compute to use libvirt + ## FIXME: this doesn't affect the current shell so you end up with a failed + ## launch of nova-compute sudo usermod -a -G libvirtd `whoami` # if kvm wasn't running before we need to restart libvirt to enable it sudo /etc/init.d/libvirt-bin restart