mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-07 22:38:02 +03:00
Merge branch 'develop' of https://github.com/zkldi/tachi-server into develop
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user