[remaster/mcs] implement default domain creation (example.com)

This commit is contained in:
Fabio Erculiani
2010-11-05 10:46:41 +01:00
parent 341d0636a0
commit 34fcef1517
4 changed files with 85 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ chown root:root /etc/init.d/oemsystem-default
rc-update add oemsystem-default default
# setup fqdn
sed -i 's/sabayon/localhost.localdomain sabayon/g' /etc/hosts
sed -i 's/sabayon/localhost.localdomain example.com sabayon/g' /etc/hosts
sed -i 's/sabayon/localhost.localdomain/g' /etc/conf.d/hostname
# setup fqdn in 389-admin, stop annoying apache crap
sed -i '/^#ServerName/ s/.*/ServerName localhost.localdomain/g' /etc/dirsrv/admin-serv/httpd.conf || exit 1