More generic

This commit is contained in:
Bob Motram 2015-02-09 13:25:08 +00:00
parent c668f37755
commit 5380e7986e
1 changed files with 1 additions and 1 deletions

View File

@ -4288,7 +4288,7 @@ function set_your_domain_name {
fi
echo "$DEFAULT_DOMAIN_NAME" > /etc/hostname
hostname $DEFAULT_DOMAIN_NAME
sed -i "s/127.0.1.1 arm/127.0.1.1 $DEFAULT_DOMAIN_NAME/g" /etc/hosts
sed -i "s/127.0.1.1.*/127.0.1.1 $DEFAULT_DOMAIN_NAME/g" /etc/hosts
echo "127.0.1.1 $DEFAULT_DOMAIN_NAME" >> /etc/hosts
echo 'set_your_domain_name' >> $COMPLETION_FILE
}