Update mint.sh
This commit is contained in:
parent
f8f48cac43
commit
b75a407ad3
5
mint.sh
5
mint.sh
@ -19,7 +19,8 @@ whoami | grep -q ^root$ || read x
|
||||
if ! egrep -q "\.${mydomain}$" /etc/hostname
|
||||
then
|
||||
host=$(cat /etc/hostname | cut -d. -f1)
|
||||
echo "${host}.${mydomain}" | sudo tee /etc/hostname
|
||||
#echo "${host}.${mydomain}" | sudo tee /etc/hostname
|
||||
hostnamectl set-hostname ${host}.${mydomain}
|
||||
fi
|
||||
|
||||
|
||||
@ -59,6 +60,7 @@ for playbook in debian.ansible.basics \
|
||||
debian.ansible.firewall \
|
||||
debian.ansible.tornet.network \
|
||||
debian.ansible.vnet.network \
|
||||
debian.ansible.autoupdate \
|
||||
debian.ansible.dedyn.client
|
||||
do
|
||||
sudo rm -rf ${playbook}
|
||||
@ -67,6 +69,7 @@ do
|
||||
sudo rm -rf ${playbook}
|
||||
done
|
||||
|
||||
. /usr/local/sbin/autoupdate.sh
|
||||
|
||||
# Add User to docker group
|
||||
sudo usermod -aG docker $(whoami)
|
||||
|
Loading…
Reference in New Issue
Block a user