| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Note sure why it was done this way...
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
| |
This is now:
autocluster cluster destroy create update_hosts boot configure
:-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
About to introduce "noun verb ..." and want to avoid $command being a
noun. :-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Use "autocluster -e test_proxy" instead.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This allows basic testing.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
In preparation for adding more options. Unknown options are now
ignored.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
On RHEL7 most useful boot-time logging disappears.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
The names aren't easy for autocluster to guess so hack to find the
first ethernet interface.
Also remove any ifcfg-* ethernet-related configuration files.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It no longer supports ks=floppy and needs inst.stage2 to point to the
DVD image.
Label the "floppy" as "KICKSTART" regardless of the version - this
does no harm.
If running RHEL >= 7 then set up the kickstart "floppy" as a hard disk
in libvirt and have the kernel command-line point to the label. Also
set inst.stage2 so it can find root device to install from.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
| |
At least some versions of guestfish are now using /dev/sd* instead of
/dev/vd*, so don't set this explicitly.
This and the previous change mean that SYSTEM_DISK_MOUNTS can still
still be set if needed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
This hasn't really got anything to do with GPFS.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
|
| |
Cut down CTDB configuration to bare minimum and move CTDB options from
other sysconfig files (i.e. nfs, vsftp).
Signed-off-by: Martin Schwenke <martin@meltin.net>
|