scyld-add-boot-config -- Tool for creating ClusterWare boot configurations.



[-h] [-v] [-q] [-c | --config CONFIG] [--base-url URL] [[-u | --user] USER[:PASSWD]] [--make-defaults] [--distro NAME] [--image NAME] [--iso PATH] [--boot-config NAME] [--attrib-group NAME] [--no-nodes] [--batch]


-h, --help

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

-v, --verbose

Increase verbosity.

-q, --quiet

Decrease verbosity.

-c, --config CONFIG

Specify a client configuration file CONFIG.


If there are no attribute groups on this system, then automatically build an attribute group referencing a new boot configuration referencing a new image.

--distro NAME

Select the pre-existing distro NAME to use when creating an image.

--iso PATH

Create a repo and distro from the local or remote base distribution ISO, where PATH is a pathname or a URL.

--image NAME

Select the pre-existing image NAME this command should use.

--boot-config NAME

Name the boot configuration as NAME.

--attrib-group NAME

Name the new attribute group as NAME.


Skip assigning the attribute group to nodes.


Run this command using the default options.


--base-url URL

Specify the base URL of the ClusterWare REST API.

-u, --user USER[:PASSWD]

Masquerade as user USER with optional colon-separated password PASSWD.


This tool is used internally by the scyld-install tool to populate the initial (or cleared) database with the objects necessary to boot compute nodes. When run on a database with no attribute groups defined and passed the --auto-first argument this script will not ask the user any questions and will use default values. This should not be necessary for an administrator to run unless they have manually cleared the database using the managedb clear command:

scyld-add-boot-config --make-defaults

Rebuild the DefaultImage and DefaultBoot.

scyld-add-boot-config --iso CentOS-7-x86_64-DVD-1908.iso

Use the named ISO file to build a distro and repo named CentOS-7-x86_64-1908, and manually accept defaults that create a boot image and boot configuration, all named CentOS-7-x86_64-1908.

scyld-add-boot-config --iso CentOS-7-x86_64-DVD-1908.iso \
     --image CentOS-7.7-Image --boot-config CentOS-7.7-boot --batch

Use the named ISO file in hands-off batch mode to build a repo and distro, both named CentOS-7-x86_64-1908, a boot image named CentOS-7.7-Image and a boot config named CentOS-7.7-boot.


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