[one-users] New QuicksStart guide to deploy OpenNebula under CentOS 7

Vladislav Gorbunov vadikgo at gmail.com
Fri Aug 15 05:37:58 PDT 2014


Sone notes:
1. You can use SELINUX=enforcing with kvm, just run:
setsebool -P virt_use_nfs 1
setsebool -P virt_use_execmem 1
2. Return ethX interfaces names:
Edit /etc/default/grub
At the end of GRUB_CMDLINE_LINUX line append net.ifnames=0
run
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
3. It's easy to configure bridged network with nmcli:

nmcli con add ifname br0 con-name br0 type bridge stp no ip4 10.166.10.11/24
gw4 10.166.10.1

nmcli con mod br0 ipv4.dns "10.166.10.2 8.8.8.8"

nmcli con mod br0 ipv4.dns-search "example.com"

nmcli con add ifname eth0 con-name eth0 type bridge-slave master br0

nmcli con mod br0 ipv4.method link-local
4. It's bad idea to mount nfs with "soft" option.
5. Delete default libvirt network:

virsh net-autostart default --disable

virsh net-destroy default

6. Disable requiretty options for sudo:

sed -i 's/Defaults    requiretty/#Defaults    requiretty/' /etc/sudoers

7. Disable firewall

systemctl stop firewalld

systemctl disable firewalld.service


2014-08-15 23:31 GMT+12:00 Jaime Melis <jmelis at opennebula.org>:

> Dear all,
>
> you might be interested in taking a look at this new QS guide:
>
>
> http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_centos7_kvm.html
>
> Enjoy!
>
> cheers,
> Jaime
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jmelis at opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140816/3f3042eb/attachment.htm>


More information about the Users mailing list