fixes, improve host-info-update
[distro-setup] / distro-end
index 066264b86efbb175aaacddd25185256d48306832..d7fa65831328beb8567ffdaa65a57e54afba90d6 100755 (executable)
@@ -198,7 +198,7 @@ EOF
       # as I know.
       f=debian-archive-keyring_2023.3+deb12u1_all.deb
       wget http://ftp.debian.org/debian/pool/main/d/debian-archive-keyring/$f
-      dpkg -i $f
+      sudo dpkg -i $f
       p update
       cd -
       rm -rf $tmpdir
@@ -1845,7 +1845,7 @@ case $HOSTNAME in
     /c/roles/prom/files/simple/usr/local/bin/fsf-install-prometheus
     # make it available for other machines
     rsync -a /usr/local/bin/amtool /a/opt/bin
-    web-conf -p 9091 -f 9090 - apache2 i.b8.nz <<'EOF'
+    web-conf -p 9091 -f 9090 - apache2 b8.nz <<'EOF'
 <Location "/">
 AuthType Basic
 AuthName "basic_auth"
@@ -1856,7 +1856,7 @@ Require valid-user
 </Location>
 EOF
 
-    web-conf -p 9094 -f 9093 - apache2 i.b8.nz <<'EOF'
+    web-conf -p 9094 -f 9093 - apache2 b8.nz <<'EOF'
 <Location "/">
 AuthType Basic
 AuthName "basic_auth"