From b75a407ad3335bb072b13402abac0a23ec144dfd Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 3 Jul 2023 17:33:15 +0200 Subject: [PATCH] Update mint.sh --- mint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mint.sh b/mint.sh index 84ed08f..2c6c50a 100644 --- a/mint.sh +++ b/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)