Merge branch 'develop' of https://github.com/zkldi/tachi-server into develop

This commit is contained in:
zkldi
2021-11-03 00:48:15 +00:00
+2 -2
View File
@@ -5,8 +5,8 @@ ip=$(hostname -i)
cp /etc/hosts ~/hosts
sed -i 's/127\.0\.0\.1 /127\.0\.0\.1 localhost.localdomain /' ~/hosts
sed -i "s/${ip} /${ip} ${hostname}.localdomain /" ~/hosts
sed -i 's/127\.0\.0\.1\s+/127\.0\.0\.1 localhost.localdomain /' ~/hosts
sed -i "s/${ip}\s+/${ip} ${hostname}.localdomain /" ~/hosts
cp ~/hosts /etc/hosts
rm ~/hosts