diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-21 15:26:39 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-11 18:30:35 +0000 |
commit | ca4c840a8e259a791467912e9cdb1e3cf939e46a (patch) | |
tree | 193c34157a9ab5efb420164d7f76b6463bdd228c /openstack/usr | |
parent | a6e00aa209d4173136aefff461ee0c42f3e75212 (diff) | |
download | definitions-ca4c840a8e259a791467912e9cdb1e3cf939e46a.tar.gz |
Add nova to the libvirt group
Diffstat (limited to 'openstack/usr')
-rw-r--r-- | openstack/usr/share/openstack/openstack-nova-setup | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openstack/usr/share/openstack/openstack-nova-setup b/openstack/usr/share/openstack/openstack-nova-setup index bc3c0157..345d5585 100644 --- a/openstack/usr/share/openstack/openstack-nova-setup +++ b/openstack/usr/share/openstack/openstack-nova-setup @@ -66,16 +66,14 @@ if [ ! -e /var/lib/nova/nova.sqlite ]; then sudo -u nova nova-manage db sync fi -# Nova compute needs to write in /var/run/libvirt/libvirt-sock -# to start the hypervisor -chmod 766 /var/run/libvirt/libvirt-sock - # Nova novncproxy needs /usr/share/novnc folder available if [ ! -d /usr/share/novnc ]; then mkdir /usr/share/novnc chown -R nova:nova /usr/share/novnc fi +# Add nova to the libvirt group +usermod -a -G libvirt nova # Check existence of Network Block Device module in the kernel # NOTE: modprobe does not work actually and returns always |