diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-18 12:24:32 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-06-25 20:46:15 +1000 |
commit | 96d0c28116f4dda10433c881ffa355c349a42bbe (patch) | |
tree | 08177ab439efb71e0795482a2f227e5a7c4c9f5d /config.d | |
parent | 90125744b49031bffb3bf7a7f190873f7c4cfdbd (diff) | |
download | autocluster-96d0c28116f4dda10433c881ffa355c349a42bbe.tar.gz autocluster-96d0c28116f4dda10433c881ffa355c349a42bbe.tar.xz autocluster-96d0c28116f4dda10433c881ffa355c349a42bbe.zip |
Rename configuration variable GATEWAY to KVMHOST
A previous commit meant that the value of GATEWAY is no longer used as
the gateway for the default network route, so renaming the variable
adds clarity.
This means that GATEWAY is no longer available to kickstart via the
basic post-install script. So generate some new variables INSTALL_GW
and INSTALL_IP in create_base() and tweak the post-install logic to
use them.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'config.d')
-rw-r--r-- | config.d/00base.defconf | 4 | ||||
-rw-r--r-- | config.d/10shareddisk.defconf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf index fd14df6..37748cc 100644 --- a/config.d/00base.defconf +++ b/config.d/00base.defconf @@ -329,8 +329,8 @@ defconf PUBLIC_ADDRESSES "|make_public_addresses" \ defconf WEBPROXY "" \ "<url>" "URL of a caching web proxy" -defconf GATEWAY "10.0.0.1" \ - "<ip>" "IP gateway for cluster hosts, usually KVM host" +defconf KVMHOST "10.0.0.1" \ + "<ip>" "KVM host - provides things like NTP, iSCSI targets, ..." defconf KDC_NAME "example-ad" \ "<name>" "prefix of the name of the KDC" diff --git a/config.d/10shareddisk.defconf b/config.d/10shareddisk.defconf index 2579ef2..0e3119a 100644 --- a/config.d/10shareddisk.defconf +++ b/config.d/10shareddisk.defconf @@ -34,7 +34,7 @@ defconf SHARED_DISK_ID_GEN "shared_disk_id_default" \ ########## -defconf ISCSI_HOST "$GATEWAY" \ +defconf ISCSI_HOST "$KVMHOST" \ "<ip-addr>" "host machine serving our iSCSI targets" defconf ISCSI_PORT "3260" \ |