add note to fix the process of adding user to group

This commit is contained in:
Jesse Andrews 2011-09-16 14:35:14 -07:00
parent 74e965f0db
commit eba18fbfa5

View file

@ -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