From b21d32f2c17d451839140e5eca40d22b4add584c Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Mon, 25 Sep 2023 15:13:23 +0200 Subject: [PATCH] Remove the sudo from DNS guide This was caused by me doing some things as root instead as my own user. Signed-off-by: Michal Konecny --- modules/sysadmin_guide/pages/new-virtual-hosts.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sysadmin_guide/pages/new-virtual-hosts.adoc b/modules/sysadmin_guide/pages/new-virtual-hosts.adoc index 00c6792..4e14c74 100644 --- a/modules/sysadmin_guide/pages/new-virtual-hosts.adoc +++ b/modules/sysadmin_guide/pages/new-virtual-hosts.adoc @@ -88,10 +88,10 @@ Once that is committed, you need to run a script to build the zones and then push them to the dns servers.: .... -sudo ./do-domains # This builds the files +./do-domains # This builds the files git add . git commit -a -m 'done build' -sudo git push +git push $ sudo -i ansible ns\* -a '/usr/local/bin/update-dns' # This tells the dns servers to load the new files ....