summaryrefslogtreecommitdiffstats
path: root/config.d/57node_ad.defconf
diff options
context:
space:
mode:
Diffstat (limited to 'config.d/57node_ad.defconf')
-rw-r--r--config.d/57node_ad.defconf39
1 files changed, 0 insertions, 39 deletions
diff --git a/config.d/57node_ad.defconf b/config.d/57node_ad.defconf
deleted file mode 100644
index 607c970..0000000
--- a/config.d/57node_ad.defconf
+++ /dev/null
@@ -1,39 +0,0 @@
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-defconf AD_ADMIN_PASS "p@ssw0rd" \
- "<pass>" "Administrator password"
-
-defconf AD_FUNCTION_LEVEL "2008" \
- "<2003|2008|2008_R2>" "Domain and Forest function level"
-
-defconf AD_NETBIOS_NAME "samba4" \
- "<string>" "NetBIOS name to use for AD server"
-
-defconf AD_DNS_FORWARDER "@uto" \
- "<ip>" "DNS server for AD server to forward to"
-
-ad_post_config_hook ()
-{
- if [ "$AD_DNS_FORWARDER" = "@uto" ] ; then
- AD_DNS_FORWARDER="$KVMHOST"
- fi
-}
-register_hook post_config_hooks ad_post_config_hook
-
-node_name_format_ad ()
-{
- local cluster="$1"
- local index="$2"
-
- printf '%sad%d' "$cluster" "$index"
-}
-
-cluster_setup_tasks_ad ()
-{
- case "$1" in
- install_packages) echo "ad" ;;
- setup_clusterfs) echo "" ;;
- setup_node) echo "ad" ;;
- setup_cluster) echo "" ;;
- esac
-}