From 5acca816af4787f7186a41486aefe61e32e4dff9 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 17 Jan 2024 15:01:52 +0100 Subject: [PATCH] inst-depl --- pre/inst-depl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre/inst-depl b/pre/inst-depl index 69e2795..2a093e2 100755 --- a/pre/inst-depl +++ b/pre/inst-depl @@ -93,7 +93,7 @@ fi hostname=$(hostname) echo "${HOST}" > /etc/hostname hostnamectl set-hostname "${HOST}" -sed -i "s/${hostname}/${HOST}/g" /etc/host{s,name} +sed -i "s/${hostname}/${HOST}/g" /etc/hosts echo "vous pouvez redemarrer ..." EOT )