| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It isn't used and causes problems with RHEL 7.1.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
It is done later when nodes are created.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
-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>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Much more flexible network configuration.
Replace canned host_setup/etc/libvirt/qemu/networks/*.xml with
setup_networks.sh script.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seeing this problem:
qemu: could not load PC BIOS '[...]/tmp/isolinux.bin'
From the libvirt NEWS file:
0.9.12: May 14 2012:
...
- Bug Fixes:
...
Wire up <loader> to set the QEMU BIOS path (Daniel P. Berrange),
...
So, it looks like we've been misusing <loader> forever, since it is
meant to be BIOS and not bootloader, but this bug fix has exposed
that.
"isolinux.bin" isn't present in the qemu-kvm command-line on the older
machines. This suggests that libvirt hasn't been able to do anything
"useful" with the <loader> option... until now... ;-)
The libvirt documentation seems to suggest that it would be correct to
use <bootloader> instead of <loader>. However, it also seems to imply
that if you use <kernel> then you probably don't need <bootloader>.
So, for now, I'm deleting the <loader> option from install.xml.
If this causes problems then can someone please try <bootloader>? :-)
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>
|
|
|
|
|
|
|
| |
This shouldn't change anything since the packages mentioned in the old
default have been added to the package lists as appropriate.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
| |
kickstart-SoFS.cfg is superceded by gpfs-nas-kickstart.cfg, which is
now the default.
SoFS-postinstall.sh is superceded by gpfs-nas-postinstall.cfg.
The contents of releases/ and imacros/ are no longer of any value.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|/
|
|
|
|
| |
GPFS needs it.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
Install nfs-utils on RHEL6.
Enable nfslock in the basic postinstall - NFS client functionality is
used on client nodes and not just on cluster nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
The fastest mirror plugin (used by CentOS and Fedora) is particularly
annoying because we don't tend to even use the standard mirrors.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
If you don't specify a type then RHEL6's KVM default it to 'raw'.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
If you don't specify a type then RHEL6's KVM default it to 'raw'.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$RHEL_PACKAGES points to a file containing the standard package list,
which is inserted into the kickstart packages section along with
$_EXTRA_RHEL_PACKAGES and $EXTRA_PACKAGES. The old packages list is
in RHEL5.packages, with an initial list of RHEL6 in RHEL6.packages.
The RHEL5 list has been slightly updated in the area of compat
packages. The default value of $RHEL_PACKAGES invokes new function
rhel_package_list(), which prints the contents of the packages file
corresponding to the current $RHEL_VERSION.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|