Amitay Isaacs [Thu, 20 Nov 2014 03:16:15 +0000 (14:16 +1100)]
Add IPv6 support
New configuration variable NETWORK_STACK.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Amitay Isaacs [Thu, 13 Nov 2014 00:19:06 +0000 (11:19 +1100)]
Do not fail in install_build task
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Amitay Isaacs [Thu, 20 Nov 2014 04:57:54 +0000 (15:57 +1100)]
Shift argument after processing it
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Amitay Isaacs [Mon, 24 Nov 2014 04:04:54 +0000 (15:04 +1100)]
Do not disable IPv6 stack
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Martin Schwenke [Mon, 24 Nov 2014 10:01:37 +0000 (21:01 +1100)]
Remove netmask from network_map
This removes the /24 assumption, embeds the prefix into the ip field
and calculates netmask in the only place it is needed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 24 Nov 2014 09:49:46 +0000 (20:49 +1100)]
New function ipv4_prefix_to_netmask()
Allows calculation of netmask from prefix.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 24 Nov 2014 09:47:12 +0000 (20:47 +1100)]
base_create: Set IPNUM=$FIRSTIP
This allows removal of a kludge in guess_install_network().
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 17 Oct 2014 01:33:37 +0000 (12:33 +1100)]
Add RHEL 6.6 ISO
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 12 Aug 2014 04:32:45 +0000 (14:32 +1000)]
Set new CTDB configuration variable CTDB_LOGGING="syslog"
Leave CTDB_SYSLOG="yes" for backward compatiblity.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 12 Aug 2014 01:27:24 +0000 (11:27 +1000)]
Undefine nodes in old cluster when building a new one
Otherwise, if the list of NODES is changed so that nodes are renamed,
then old nodes will come back when the new cluster is booted and
madness will ensue.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 12 Aug 2014 01:03:13 +0000 (11:03 +1000)]
Switch on rsyslog UDP listener on 127.0.0.1:514
So that it can be used by CTDB's new direct-UDP logging.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 03:02:15 +0000 (13:02 +1000)]
Update TODO
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 02:56:42 +0000 (12:56 +1000)]
Make cluster_setup.sh use generated configuration file
An early step in making cluster_setup.sh independent of autocluster.
* autocluster generates cluster_setup.config during base setup
* cluster_setup.sh sources this configuration file
* cluster_setup.sh sources the per-task scripts
* cluster_setup.sh now exits on first error
* Replace @@ templates in scripts with variable references
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 02:09:09 +0000 (12:09 +1000)]
Add #config header to setup scripts listing required configuration variables
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 02:12:05 +0000 (12:12 +1000)]
Move cluster_setup.sh task scriptlets to tasks subdirectory
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 01:09:02 +0000 (11:09 +1000)]
New configuration variable AD_DNS_FORWARDER
When creating a cluster with an addition AD server node, the DNS
forwarder on the AD node needs to be different to the DNS server for
the cluster nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 29 Jul 2014 01:08:16 +0000 (11:08 +1000)]
Make some configuration variables depend on KVMHOST @uto
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 10:06:16 +0000 (20:06 +1000)]
node_name_format_* functions should produce the node name
No use having them print the format string. That actually makes it
more restrictive. Instead, have the functions take cluster name and
index as arguments - these can then be passed to printf in either
order depending on the format string.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 06:33:17 +0000 (16:33 +1000)]
Always default _SHARED_DISK_TEMPLATE to ""
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 06:21:32 +0000 (16:21 +1000)]
Remove "private dir" from smb.conf template
This hasn't been used for a long time
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 02:00:14 +0000 (12:00 +1000)]
Update README
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 01:37:41 +0000 (11:37 +1000)]
Default to virtio system disks
The qcow2 + virtio + writeback problem seems to be fixed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 01:21:38 +0000 (11:21 +1000)]
NAS packages: Attempt to install samba-winbind packages
Some Samba packaging schemes have the winbind pieces in different
packages, so try to install those too. There's no check for failures,
so this is harmless (apart from warning messages) when the packages
don't exist.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 28 Jul 2014 01:19:35 +0000 (11:19 +1000)]
rsyslog: Turn off rate limiting
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 24 Jul 2014 06:19:02 +0000 (16:19 +1000)]
Fix broken hosts file updating
Replace the hardcoded node name regexp with a generated one. Detailed
comments are required to describe the construction of the new regexp.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 3 Jul 2014 01:10:12 +0000 (11:10 +1000)]
When exiting due to unknown node type, list valid node types
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 2 Jul 2014 07:39:06 +0000 (17:39 +1000)]
Use a single entry-point script for post-boot setup
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 2 Jul 2014 04:07:14 +0000 (14:07 +1000)]
Rename common_nodelist_hacking() to cluster_nodelist_hacking()
... and just call it once before doing any cluster operations.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 2 Jul 2014 02:09:52 +0000 (12:09 +1000)]
vircmd: loosen matching of nodes in cluster if no wildcard given
As more node types appear this becomes unwieldy so don't be as
paranoid.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 2 Jul 2014 01:56:54 +0000 (11:56 +1000)]
Add create_node_DEFAULT, no more hack_nodes_functions
Reduce the amount of work needed to define how to create a new node
type.
* Each node type definition needs to define node_name_format_<TYPE>()
* Node types that should be part of the CTDB cluster should define
node_is_ctdb_node_<TYPE>() and have it echo 1
* Nodes need not define create_node_<TYPE>() if they don't do anything
unusual.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 2 Jul 2014 01:08:45 +0000 (11:08 +1000)]
Remove NUMNODES and WITH_TSM_NODE configuration variables
The backward compatibility hacking is horrible!
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 06:39:15 +0000 (16:39 +1000)]
Rework cluster_setup() to use node types instead of $CLUSTER_TYPE
* Remove configuration variable CLUSTER_TYPE
* Add "build" node type
* Rename setup scripts for "ad" and "build" node type
* Separate out some setup_node_nas.sh from setup_cluster_nas.sh
* Make install_packages.sh and cluster_setup.sh more verbose
* Separate out clusterfs_setup.sh
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 1 Jul 2014 12:28:29 +0000 (22:28 +1000)]
No need to chkconfig ctdb - it is enabled by default
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 06:37:25 +0000 (16:37 +1000)]
Rename cluster "configure" action to "setup"
Rewrite cluster_setup() to factor out the common SSH bits.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 04:39:49 +0000 (14:39 +1000)]
Store shared disk IDs in a variable instead of a file
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 03:54:49 +0000 (13:54 +1000)]
Rename node type "sofs_front" to "nas"
Rename 50.sofs.defconf too.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 03:36:07 +0000 (13:36 +1000)]
Rename node type "sofs_storage" to "storage_gpfs"
Move the code to new a new file and globally rename variable
NSD_SERVERS to NODES_STORAGE_GPFS.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 02:48:18 +0000 (12:48 +1000)]
Split hack_nodes_sofs()
... into hack_nodes_sofs_front() and hack_nodes_sofs_storage(). This
allows 50.sofs.defconf to be split
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 02:08:16 +0000 (12:08 +1000)]
Move shared disk presence logic from nodes into shared disk code
Currently this is distributed around the node logic and is hard to
manage.
Instead, introduce 2 new functions (well, meta-functions, called using
call_func):
* is_dedicated_storage_node()
Defaults to false. Is true for sofs_storage.
* node_has_shared_disks()
Defaults to false. True for sofs_storage. True for sofs_front when
there are no dedicated storage nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 00:19:29 +0000 (10:19 +1000)]
Simplify shared disk logic for sofs_front and sofs_storage nodes
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 02:25:53 +0000 (12:25 +1000)]
Limit functionality of rhel_base nodes
They are not part of the CTDB cluster and do not have shared disks.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 30 Jun 2014 00:14:36 +0000 (10:14 +1000)]
Remove unused has_public_addresses_* functions
They have been unused since public address generation was changed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 01:56:15 +0000 (11:56 +1000)]
Remove some unused SOFS_* variables
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 01:46:18 +0000 (11:46 +1000)]
Update README to reflect latest development and testing
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 01:45:49 +0000 (11:45 +1000)]
Replace external waitfor script with a function
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 01:16:24 +0000 (11:16 +1000)]
kickstart - Replacing multipath.conf here is redundant
It is done later when nodes are created.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 27 Jun 2014 01:12:45 +0000 (11:12 +1000)]
kickstart - sadc has no -d option so don't add it
-S DISK is the default on at least RHEL 5 and 6, so that should
collect the disk statistics we want.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 26 Jun 2014 01:05:36 +0000 (11:05 +1000)]
Add "autocluster cluster build" command shortcut
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 26 Jun 2014 01:04:58 +0000 (11:04 +1000)]
Add gpfs.gskit package
Failure here doesn't matter, so add it unconditionally.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 25 Jun 2014 10:33:04 +0000 (20:33 +1000)]
Clean up GPFS setup script
Remove the mknsd.sh and nsd_server_common.bash scripts, merging their
functionaility into the main script.
Separate the logic into functions, and default to calling each
function in turn. Arguments can be passed to potentially run only
some functions but this is probably pointless.
Clean up a lot of contorted logic for building the GPFS nodes file and
deciding on primary/secondary nodes. Create all files in the same
directory as the scripts (instead of /tmp) since they should be
available for post-mortem anyway.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 05:01:16 +0000 (15:01 +1000)]
Cleanup post-boot cluster configuration
* Single entry point is now setup_cluster.sh.
* Rename old setup_cluster.sh to setup_cluster_nas.sh.
* Split setup_ad_server.sh into install_ad_server.sh and
setup_cluster_ad_server.sh.
* Split setup_build.sh into install_build.sh and
setup_cluster_build.sh.
* Rename setup_gpfs.sh to setup_clusterfs_gpfs.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 04:19:28 +0000 (14:19 +1000)]
Move wait_until_healthy() into setup_cluster.sh
... and remove functions file.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 04:10:31 +0000 (14:10 +1000)]
Git should ignore autocluster RPM packages
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 04:08:40 +0000 (14:08 +1000)]
Don't manually mess with ntpd, just enable it in kickstart
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 03:46:54 +0000 (13:46 +1000)]
Rework package installation during post-boot configuration
* New script install_packages.sh is the single entry-point for
installing packages outside kickstart.
* New configuration variable CONFIG_EXTRA_PACKAGES has space-separated
list of extra packages to install. This can help if dependencies
are broken.
* Rename install_gpfs_nas.sh to just install_nas.sh, now just installs
packages (e.g. samba, ctdb, rssh) to support protocols.
* Rename install_gpfs.sh to install_clusterfs_gpfs.sh to provide a
hook to support installation of alternate cluster filesystem
packages.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 02:16:10 +0000 (12:16 +1000)]
Rename gpfs-nas.conf to nas.conf
It is now cluster-filesystem-agnostic.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 02:10:18 +0000 (12:10 +1000)]
New configuration variables CLUSTERFS_TYPE, CLUSTERFS_DEFAULT_MOUNTPOINT
* CLUSTERFS_DEFAULT_MOUNTPOINT replaces GPFS_DEFAULT_MOUNTPOINT
* Tweak various scripts and configuration files to allow cluster
filesystem type to be configured
* Also tweak chroot-related options to not have GPFS-specific values
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:44:55 +0000 (11:44 +1000)]
Update comments in basic post-install
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:43:15 +0000 (11:43 +1000)]
Update cluster_configure README
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:40:27 +0000 (11:40 +1000)]
Remove SoFS GUI support
This hasn't been used in a long time.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:36:14 +0000 (11:36 +1000)]
Remove "sofs" command on nodes
"onnode -P" implements the only useful feature.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:29:58 +0000 (11:29 +1000)]
Simplify setting of KS_RHEL_PACKAGES and KS_RHEL_SERVICES
The functions are unnecessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 01:27:16 +0000 (11:27 +1000)]
Move kickstart options to new 02kickstart.defconf
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 24 Jun 2014 00:09:27 +0000 (10:09 +1000)]
Rename some kickstart variables to start with "KS_"
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 23 Jun 2014 04:04:36 +0000 (14:04 +1000)]
Remove add_extra_package() and add_extra_chkconfig()
These were a hack to get around EXTRA_PACKAGES having a default
non-empty value. That's no longer true.
Just use EXTRA_PACKAGES and EXTRA_CHKCONFIGS directly.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 23 Jun 2014 01:18:13 +0000 (11:18 +1000)]
Enable nfslock in services file instead of in basic post-install
Note sure why it was done this way...
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 06:31:42 +0000 (16:31 +1000)]
Remove create_cluster.sh
This is now:
autocluster cluster destroy create update_hosts boot configure
:-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 06:19:27 +0000 (16:19 +1000)]
Add "cluster configure" command
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 05:36:43 +0000 (15:36 +1000)]
Add new commands cluster [ destroy | update_hosts | boot ]
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 05:35:59 +0000 (15:35 +1000)]
Add new function announce() to print a header for an action
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 05:33:23 +0000 (15:33 +1000)]
Rename some of the internal functions to NOUN_VERB
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 05:02:59 +0000 (15:02 +1000)]
Allow command line with noun first and (potentially) multiple verbs
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 04:58:37 +0000 (14:58 +1000)]
Make cluster name optional for "create cluster"
It can either be specified in the configuration file via the CLUSTER
variable. If it isn't set there then if the configuration file name
is of the form "foo.autocluster" then the cluster name is "foo".
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 04:30:40 +0000 (14:30 +1000)]
Remove remainder of unused --with-release code
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 04:24:49 +0000 (14:24 +1000)]
Generalise variables used in main case statement
About to introduce "noun verb ..." and want to avoid $command being a
noun. :-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Fri, 20 Jun 2014 04:19:27 +0000 (14:19 +1000)]
Remove testproxy option
Use "autocluster -e test_proxy" instead.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 19 Jun 2014 02:09:42 +0000 (12:09 +1000)]
Support RHEL 7 multipath configuration changes
getuid_callout and udev_dir are no longer supported so don't use them.
If serial numbers work with the shared disks then it will just work.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Thu, 19 Jun 2014 01:33:32 +0000 (11:33 +1000)]
Add shared disk ID as serial number in shared disk XML
Hedge bets by continuing to write the ID to the image file.
While touching this code, add the cluster name to the temporary
filename for the shared disk ID map. Setting $shared_disk_ids needs
to move to shared_disk_setup() so $CLUSTER can be used. Also need to
update this path in mknsd.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 03:06:36 +0000 (13:06 +1000)]
Fix the value of NETWORK_PRIVATE_PREFIX when there are options
The current calculation is incorrect when the private network has
options. This causes broken hosts and CTDB nodes files.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 02:32:33 +0000 (12:32 +1000)]
Suggest selinux magic as well as chattr after create base
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 02:28:31 +0000 (12:28 +1000)]
Add chrony.conf for RHEL 7.0
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 02:24:32 +0000 (12:24 +1000)]
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>
Martin Schwenke [Wed, 18 Jun 2014 02:18:58 +0000 (12:18 +1000)]
Define gateway for default route in $NETWORKS
It now goes into one of the ifcfg-eth* files instead of
/etc/sysconfig/network.
NetworkManager in RHEL 7.0 seems to have a horrible bug. If GATEWAY
is defined in /etc/sysconfig/network and if it brings up the "wrong"
interface first then it adds a host route to the gateway on the
"wrong" network. This means that outbound traffic is OK. However,
for incoming traffic, ARP responses go out the "wrong" interface and
are either filtered on the node or are ignored by the host machine.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 00:41:44 +0000 (10:41 +1000)]
Add -n dry-run option to setup_networks.sh
This allows basic testing.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 00:28:47 +0000 (10:28 +1000)]
Make setup_networks.sh ignore unknown options
In preparation for adding more options. Unknown options are now
ignored.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 00:27:59 +0000 (10:27 +1000)]
Remove unused virtual network configuration files
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Wed, 18 Jun 2014 00:17:13 +0000 (10:17 +1000)]
grub: Don't use Red Hat graphical boot
On RHEL7 most useful boot-time logging disappears.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 04:40:18 +0000 (14:40 +1000)]
create_cluster: Avoid -e exit when cluster isn't in hosts file
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 04:07:45 +0000 (14:07 +1000)]
Remove console=tty1 from node kernel command-line
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 03:57:58 +0000 (13:57 +1000)]
Add template for /etc/hostname to overwrite new RHEL7 file
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 03:44:20 +0000 (13:44 +1000)]
Add "diskimage put" support for source file from stdin
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 02:31:38 +0000 (12:31 +1000)]
Handle grub2 configuration hacking in RHEL 7+
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 02:01:28 +0000 (12:01 +1000)]
Update kickstart done message to include "Power down."
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Tue, 17 Jun 2014 01:48:38 +0000 (11:48 +1000)]
"poweroff" when kickstart is complete
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 10:15:03 +0000 (20:15 +1000)]
Initial RHEL 7 service enable/disable file
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 06:06:52 +0000 (16:06 +1000)]
Add packages list for RHEL 7.0
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 06:05:41 +0000 (16:05 +1000)]
Generate 70-persistent-net.rules when configuring node network
Force this to avoid any potential generation of "well known" names.
Simplify the ifcfg-* generation code here, since template subsitution
is not necessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 06:05:01 +0000 (16:05 +1000)]
Remove INSTALLKEY configuration variable
RHEL 7.0 kickstart fails on "key" directive so remove this "feature".
We haven't actually used it for a long time. If needed then do it
post-kickstart.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 06:04:20 +0000 (16:04 +1000)]
RHEL 7.0 kickstart needs %end for %packages section
Signed-off-by: Martin Schwenke <martin@meltin.net>
Martin Schwenke [Mon, 16 Jun 2014 06:02:35 +0000 (16:02 +1000)]
RHEL 7.0 can't use --initlabel with --drives
It claims that it needs --all but it seems to work with --linux.
--all is potentially nasty because it also relabels the kickstart
disk.
Signed-off-by: Martin Schwenke <martin@meltin.net>