|
...
|
...
|
@@ -320,6 +320,8 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then
|
|
320
|
320
|
sudo modprobe nbd || true
|
|
321
|
321
|
sudo modprobe kvm || true
|
|
322
|
322
|
# user needs to be member of libvirtd group for nova-compute to use libvirt
|
|
|
323
|
+ ## FIXME: this doesn't affect the current shell so you end up with a failed
|
|
|
324
|
+ ## launch of nova-compute
|
|
323
|
325
|
sudo usermod -a -G libvirtd `whoami`
|
|
324
|
326
|
# if kvm wasn't running before we need to restart libvirt to enable it
|
|
325
|
327
|
sudo /etc/init.d/libvirt-bin restart
|