Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packaging/rpm/microshift.spec
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ sed -i -n -e '/^OPTIONS=/!p' -e '$aOPTIONS="--no-mlockall"' /etc/sysconfig/openv
%systemd_post microshift-ovs-init.service
systemctl is-active --quiet NetworkManager && systemctl restart --quiet NetworkManager || true
systemctl enable --now --quiet openvswitch || true
# configure the firewall rules for pods to intercommunicate
systemctl is-active --quiet firewalld || firewall-offline-cmd -q --zone=trusted --add-source=10.42.0.0/16
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we expect customized cluster IP range?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we extract this information from somewhere?

systemctl is-active --quiet firewalld && firewall-cmd -q --zone=trusted --add-source=10.42.0.0/16

%preun networking
%systemd_preun microshift-ovs-init.service
Expand Down
3 changes: 0 additions & 3 deletions scripts/image-builder/config/kickstart.ks.template
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,4 @@ chmod 600 /home/redhat/.ssh/authorized_keys
# Make sure redhat user directory contents ownership is correct
chown -R redhat:redhat /home/redhat/

# Configure the firewall
firewall-offline-cmd --zone=trusted --add-source=10.42.0.0/16

%end