test script added
This commit is contained in:
parent
a0f25306a2
commit
4af3ec7276
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
sed -i.bak "s/DOMAIN/$HOSTNAME.local/g" nginx.conf
|
||||
sudo sed -i.backup "s/$HOSTNAME/xXxXx/g" /etc/hosts
|
||||
sudo sed -i.backup "s/$HOSTNAME/xXxXx/g" /etc/hostname
|
||||
sudo systemctl reload NetworkManager
|
||||
#sudo systemctl restart NetworkManager
|
||||
echo "$hostname"
|
||||
Loading…
Add table
Add a link
Reference in a new issue