From 035fe73198124ea4e04d099477c91b263c762169 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zolt=C3=A1n=20Felleg?= Date: Fri, 15 Nov 2019 22:48:22 +0100 Subject: [PATCH] Enabled ipv6, removed wpa_supplicant service masking and /etc/hosts files. --- sources/efg.pm/postinstall/10_setupservices.sh | 2 -- sources/efg.pm/postinstall/install/etc/hosts | 4 ---- sources/ens.pm/postinstall/10_setupservices.sh | 2 -- sources/ens.pm/postinstall/install/etc/hosts | 4 ---- .../ens.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/ifg.usr/postinstall/10_setupservices.sh | 2 -- sources/ifg.usr/postinstall/install/etc/hosts | 6 ------ sources/ins.usr/postinstall/10_setupservices.sh | 2 ++ sources/ins.usr/postinstall/install/etc/hosts | 4 ---- .../ins.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/ldap.usr/postinstall/10_setupservices.sh | 2 -- sources/ldap.usr/postinstall/install/etc/hosts | 4 ---- .../ldap.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/pns.pm/postinstall/10_setupservices.sh | 2 -- sources/pns.pm/postinstall/install/etc/hosts | 4 ---- .../pns.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/pns.usr/postinstall/install/etc/hosts | 4 ---- .../pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/svc.usr/postinstall/install/etc/hosts | 4 ---- .../svc.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf | 2 -- sources/ws.pm/postinstall/10_setupservices.sh | 3 +-- sources/ws.pm/postinstall/install/etc/hosts | 4 ---- sources/xfr.pm/postinstall/10_setupservices.sh | 2 -- sources/xfr.pm/postinstall/install/etc/hosts | 4 ---- 24 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 sources/efg.pm/postinstall/install/etc/hosts delete mode 100644 sources/ens.pm/postinstall/install/etc/hosts delete mode 100644 sources/ens.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/ifg.usr/postinstall/install/etc/hosts delete mode 100644 sources/ins.usr/postinstall/install/etc/hosts delete mode 100644 sources/ins.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/ldap.usr/postinstall/install/etc/hosts delete mode 100644 sources/ldap.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/pns.pm/postinstall/install/etc/hosts delete mode 100644 sources/pns.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/pns.usr/postinstall/install/etc/hosts delete mode 100644 sources/pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/svc.usr/postinstall/install/etc/hosts delete mode 100644 sources/svc.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf delete mode 100644 sources/ws.pm/postinstall/install/etc/hosts delete mode 100644 sources/xfr.pm/postinstall/install/etc/hosts diff --git a/sources/efg.pm/postinstall/10_setupservices.sh b/sources/efg.pm/postinstall/10_setupservices.sh index 7224143..3f86f82 100755 --- a/sources/efg.pm/postinstall/10_setupservices.sh +++ b/sources/efg.pm/postinstall/10_setupservices.sh @@ -5,5 +5,3 @@ systemctl enable NetworkManager-wait-online.service systemctl enable radvd.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/efg.pm/postinstall/install/etc/hosts b/sources/efg.pm/postinstall/install/etc/hosts deleted file mode 100644 index 278fb43..0000000 --- a/sources/efg.pm/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -192.168.173.254 efg.pm.user.hu efg diff --git a/sources/ens.pm/postinstall/10_setupservices.sh b/sources/ens.pm/postinstall/10_setupservices.sh index dd98b9a..41df693 100755 --- a/sources/ens.pm/postinstall/10_setupservices.sh +++ b/sources/ens.pm/postinstall/10_setupservices.sh @@ -5,5 +5,3 @@ systemctl enable named.service systemctl enable NetworkManager-wait-online.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/ens.pm/postinstall/install/etc/hosts b/sources/ens.pm/postinstall/install/etc/hosts deleted file mode 100644 index cf63c48..0000000 --- a/sources/ens.pm/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -192.168.173.64 ens.pm.user.hu ens diff --git a/sources/ens.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/ens.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index 0690211..0000000 --- a/sources/ens.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.svc.disable_ipv6 = 1 diff --git a/sources/ifg.usr/postinstall/10_setupservices.sh b/sources/ifg.usr/postinstall/10_setupservices.sh index 7224143..3f86f82 100755 --- a/sources/ifg.usr/postinstall/10_setupservices.sh +++ b/sources/ifg.usr/postinstall/10_setupservices.sh @@ -5,5 +5,3 @@ systemctl enable NetworkManager-wait-online.service systemctl enable radvd.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/ifg.usr/postinstall/install/etc/hosts b/sources/ifg.usr/postinstall/install/etc/hosts deleted file mode 100644 index 98645cf..0000000 --- a/sources/ifg.usr/postinstall/install/etc/hosts +++ /dev/null @@ -1,6 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -10.228.109.254 ifg.usr.user.hu ifg -192.168.42.254 ifg.sr.user.hu -192.168.43.254 ifg.in.user.hu diff --git a/sources/ins.usr/postinstall/10_setupservices.sh b/sources/ins.usr/postinstall/10_setupservices.sh index 47869ee..41df693 100755 --- a/sources/ins.usr/postinstall/10_setupservices.sh +++ b/sources/ins.usr/postinstall/10_setupservices.sh @@ -3,3 +3,5 @@ systemctl enable named.service systemctl enable NetworkManager-wait-online.service + +systemctl enable logrotate.timer diff --git a/sources/ins.usr/postinstall/install/etc/hosts b/sources/ins.usr/postinstall/install/etc/hosts deleted file mode 100644 index 8e00814..0000000 --- a/sources/ins.usr/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -10.228.109.104 ins.usr.user.hu ins diff --git a/sources/ins.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/ins.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index f321089..0000000 --- a/sources/ins.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.ins.disable_ipv6 = 1 diff --git a/sources/ldap.usr/postinstall/10_setupservices.sh b/sources/ldap.usr/postinstall/10_setupservices.sh index 239315e..dfaa348 100755 --- a/sources/ldap.usr/postinstall/10_setupservices.sh +++ b/sources/ldap.usr/postinstall/10_setupservices.sh @@ -7,5 +7,3 @@ systemctl enable sssd.service systemctl enable NetworkManager-wait-online.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/ldap.usr/postinstall/install/etc/hosts b/sources/ldap.usr/postinstall/install/etc/hosts deleted file mode 100644 index 10caea9..0000000 --- a/sources/ldap.usr/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -10.228.109.252 ldap.usr.user.hu ldap diff --git a/sources/ldap.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/ldap.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index 9b1dfc6..0000000 --- a/sources/ldap.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.ldap.disable_ipv6 = 1 diff --git a/sources/pns.pm/postinstall/10_setupservices.sh b/sources/pns.pm/postinstall/10_setupservices.sh index dd98b9a..41df693 100755 --- a/sources/pns.pm/postinstall/10_setupservices.sh +++ b/sources/pns.pm/postinstall/10_setupservices.sh @@ -5,5 +5,3 @@ systemctl enable named.service systemctl enable NetworkManager-wait-online.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/pns.pm/postinstall/install/etc/hosts b/sources/pns.pm/postinstall/install/etc/hosts deleted file mode 100644 index ece152e..0000000 --- a/sources/pns.pm/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -192.168.173.174 pns.pm.user.hu pns diff --git a/sources/pns.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/pns.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index 0690211..0000000 --- a/sources/pns.pm/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.svc.disable_ipv6 = 1 diff --git a/sources/pns.usr/postinstall/install/etc/hosts b/sources/pns.usr/postinstall/install/etc/hosts deleted file mode 100644 index e8c92b1..0000000 --- a/sources/pns.usr/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -10.228.109.174 pns.usr.user.hu pns diff --git a/sources/pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index c2d7cf6..0000000 --- a/sources/pns.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.pns.disable_ipv6 = 1 diff --git a/sources/svc.usr/postinstall/install/etc/hosts b/sources/svc.usr/postinstall/install/etc/hosts deleted file mode 100644 index 9d4ec75..0000000 --- a/sources/svc.usr/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -10.228.109.253 svc.usr.user.hu svc diff --git a/sources/svc.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf b/sources/svc.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf deleted file mode 100644 index 0690211..0000000 --- a/sources/svc.usr/postinstall/install/etc/sysctl.d/01-ipv6.conf +++ /dev/null @@ -1,2 +0,0 @@ -net.ipv6.conf.all.disable_ipv6 = 1 -net.ipv6.conf.svc.disable_ipv6 = 1 diff --git a/sources/ws.pm/postinstall/10_setupservices.sh b/sources/ws.pm/postinstall/10_setupservices.sh index e1d3ef5..96f1e3c 100755 --- a/sources/ws.pm/postinstall/10_setupservices.sh +++ b/sources/ws.pm/postinstall/10_setupservices.sh @@ -2,8 +2,7 @@ systemctl disable httpd.service + systemctl enable NetworkManager-wait-online.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/ws.pm/postinstall/install/etc/hosts b/sources/ws.pm/postinstall/install/etc/hosts deleted file mode 100644 index 535cd64..0000000 --- a/sources/ws.pm/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -192.168.173.249 ws.pm.user.hu ws diff --git a/sources/xfr.pm/postinstall/10_setupservices.sh b/sources/xfr.pm/postinstall/10_setupservices.sh index 761dcc2..eab2b09 100755 --- a/sources/xfr.pm/postinstall/10_setupservices.sh +++ b/sources/xfr.pm/postinstall/10_setupservices.sh @@ -5,5 +5,3 @@ systemctl enable httpd.service systemctl enable NetworkManager-wait-online.service systemctl enable logrotate.timer - -systemctl mask wpa_supplicant.service diff --git a/sources/xfr.pm/postinstall/install/etc/hosts b/sources/xfr.pm/postinstall/install/etc/hosts deleted file mode 100644 index 5683c3d..0000000 --- a/sources/xfr.pm/postinstall/install/etc/hosts +++ /dev/null @@ -1,4 +0,0 @@ -127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4 -::1 localhost6.localdomain6 localhost6 - -192.168.173.251 xfr.pm.user.hu xfr -- 2.54.0