add note to fix the process of adding user to group
This commit is contained in:
parent
74e965f0db
commit
eba18fbfa5
1 changed files with 2 additions and 0 deletions
2
stack.sh
2
stack.sh
|
@ -320,6 +320,8 @@ if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then
|
||||||
sudo modprobe nbd || true
|
sudo modprobe nbd || true
|
||||||
sudo modprobe kvm || true
|
sudo modprobe kvm || true
|
||||||
# user needs to be member of libvirtd group for nova-compute to use libvirt
|
# 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`
|
sudo usermod -a -G libvirtd `whoami`
|
||||||
# if kvm wasn't running before we need to restart libvirt to enable it
|
# if kvm wasn't running before we need to restart libvirt to enable it
|
||||||
sudo /etc/init.d/libvirt-bin restart
|
sudo /etc/init.d/libvirt-bin restart
|
||||||
|
|
Loading…
Reference in a new issue