Switch firewall to internal zone

i9-scbs
Arkady L. Shane 1 year ago
parent 745b148191
commit 893c9a2b5c
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -447,10 +447,7 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
rm -f /etc/resolv.conf
# fix Samba overview
# revert rhbz#1966484
# https://git.inferitos.ru/rpms/authselect/src/branch/i9c/SOURCES/0903-rhel9-Revert-profiles-add-support-for-resolved.patch
sed -i 's@^hosts:.*@hosts: files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns@' \
/etc/nsswitch.conf
firewall-cmd --set-default-zone=internal
# add us,ru layouts by default
cat > /usr/share/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.override << FOE

Loading…
Cancel
Save