Workaround bridge bug on virthosts - https://bugzilla.redhat.com/show_bug.cgi?id=634736
This commit is contained in:
parent
e2c4fd4d3d
commit
ca6e170d52
2 changed files with 10 additions and 0 deletions
|
@ -130,3 +130,6 @@
|
|||
|
||||
- name: restart nagios
|
||||
shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
|
||||
|
||||
- name: restart bridge
|
||||
shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge
|
||||
|
|
|
@ -37,3 +37,10 @@
|
|||
|
||||
- name: enable libvirtd
|
||||
service: name=libvirtd state=started enabled=yes
|
||||
|
||||
- name: set bridging to work right -
|
||||
copy: sec="{{ files }}/virthost/99-bridge.rules" dest=/etc/udev/rules.d/99-bridge.rules
|
||||
notify:
|
||||
- restart bridge
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue