Commit 8cbdb798 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Ubuntu adjustments

parent a7270aa2
......@@ -179,6 +179,12 @@ echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts
echo "${serverIP} ${HOSTNAMEFQDN} ${HOSTNAMESHORT} #ispconfig " >> /etc/hosts
echo "$HOSTNAMESHORT" > /etc/hostname
/etc/init.d/hostname.sh start >/dev/null 2>&1
if [[ $family == "Ubuntu" ]]; then
# disable AppArmor
service apparmor stop
update-rc.d -f apparmor remove
apt-get remove apparmor apparmor-utils
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