Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / etc / sv / unbound / configure.sh
diff --git a/etc/sv/unbound/configure.sh b/etc/sv/unbound/configure.sh
deleted file mode 100644 (file)
index fc59084..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-sudo apt-get install unbound
-rule insserv_remove  unbound
-
-sudo install -m 644 -o root -g root /dev/stdin /etc/resolv.conf <<-EOF
-       search ${vm_host#*.}
-       nameserver 127.0.0.1
-       #nameserver ${vm_host_nameserver}
-       EOF
-sudo install -m 440 -o unbound -g unbound \
- "$tool"/etc/unbound/named.cache \
- /etc/unbound/named.cache
-
-m4 \
- --define=OUTGOING_INTERFACE=$vm_ipv4 \
- <"$tool"/etc/unbound/unbound.conf |
-sudo install -m 440 -o unbound -g unbound /dev/stdin \
- /etc/unbound/unbound.conf