scyld-mkramfsΒΆ

NAME

scyld-mkramfs -- Tool to create an initial root file system image.

USAGE

scyld-mkramfs

[-h] [OPTION] ... -o, -output PATH

STANDARD OPTIONS

-h, --help

Print usage message and exit. Ignore trailing args, parse and ignore preceding args.

--update, -u BOOT

Space-separated list of boot configurations to update.

--output, -o PATH

Where to write the initramfs.

--image, -i IMGID

Uses scyld-modimg to install the clusterware-tools package inside the image IMGID, and then executes scyld-mkramfs inside the image to create the root file system image.

--kver VERSION

Specify the kernel version to use, overriding the default of the head node's current kernel (viewed with uname -r).

ADVANCED OPTIONS

--no-selinux

Do not include SELinux support.

--stripped

Exclude all network drivers not loaded on some node.

--drivers NAMES

Space-separated list of additional kernel drivers to include.

--modules NAMES

Space-separated list of additional dracut modules to include.

--ramfs-conf PATH

Use a config file from a non-standard location PATH.

EXAMPLES

scyld-mkramfs --update OpenMPI-Slurm-Boot

Rebuild the initramfs used by the OpenMPI-Slurm-Boot boot configuration.

scyld-mkramfs --update OpenMPI-Slurm-Boot --drivers mlx4_core

Rebuild the initramfs used by the OpenMPI-Slurm-Boot boot configuration after adding the mlx4_core driver (and its dependencies).

scyld-mkramfs --update OpenMPI-Slurm-Boot --kver 3.10.0-1160.45.1.el7.x86_64

Rebuild the initramfs in the boot config after an administrator installs a new kernel into the image that the boot config is using. The --kver argument is needed if there are multiple kernels installed in the image.

RETURN VALUES

Upon successful completion, scyld-mkramfs returns 0. On failure, an error message is printed to stderr and scyld-mkramfs returns 1.