Commit baefa70b authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_new_system: fix chromium SSO, disable NetworkManager

parent 0e130ccd
......@@ -104,6 +104,16 @@ epmi systemd-settings-disable-dumpcore systemd-settings-enable-log-to-tty12 syst
serv cups on
serv cups-browsed on
# TODO: выключение NetworkManager для сетевого интерфейса
# DISABLED=yes
# NM_=no
if [ ! -f /etc/chromium/policies/recommended/etersoft-kerberos.json ] ; then
cat <<EOF >/etc/chromium/policies/recommended/etersoft-kerberos.json
{
"AuthServerWhitelist": "*.etersoft.ru,*.eterhost.ru",
"AuthNegotiateDelegateWhitelist": "*.etersoft.ru,*.eterhost.ru"
}
EOF
fi
if [ -f /etc/net/ifaces/eth0/options ] ; then
subst "s|^NM_CONTROLLED=yes|NM_CONTROLLED=no|" /etc/net/ifaces/eth0/options
subst "s|^DISABLED=yes|DISABLED=no|" /etc/net/ifaces/eth0/options
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment