/usr/bin/fix-net /etc/ganeti/hooks/instance-migrate-post.d/fix-net
/usr/bin/fix-net /etc/ganeti/hooks/instance-stop-post.d/fix-net
/usr/bin/fix-net /etc/ganeti/hooks/instance-failover-post.d/fix-net
+
+/usr/bin/dnshook /etc/ganeti/hooks/instance-create-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-remove-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-modify-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-rename-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-start-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-stop-post.d/dnshook
+/usr/bin/dnshook /etc/ganeti/hooks/instance-reboot-post.d/dnshook
-MAC_MASK=ff:ff:ff:00:00:00
+MAC_MASK=ff:ff:f0:00:00:00
TAP_CONSTANT_MAC=cc:47:52:4e:45:54 # GRNET in hex :-)
MAC2EUI64=/usr/bin/mac2eui64
NFDHCPD_TAG=nfdhcpd
IP_LESS_ROUTED_TAG=ip-less-routed
MASQ_TAG=masq
+PUBLIC_TAG=public
+DNS_TAG=public
# Default options for runlocked helper script (uncomment to modify)
#RUNLOCKED_OPTS="--id 10001 --retry-sec 0.5"
+
+# NS options needed by nsupdate
+# A proper bind configuration is a prerequisite
+# Please see: https://wiki.debian.org/DDNS
+# If one of the following vars are not set dnshook wont do a thing
+# Name server IP/FQDN
+SERVER=
+# zone for the vms
+FZONE=vm.synnefo.live
+# keyfile path to pass to nsupdate with -k option
+# see man page for more info
+KEYFILE=