Skip to main content

Initialize And Finalize Scripts
Initialize And Finalize Scripts
9 members
7 questions

When Are They Used? Accessing From cmgui And cmsh Environment Variables Available Environment Variables Stored In Multiple Variables Storing A Configuration To A Filesystem Writing A Finalize Script To Configure Nodes Restricting The Script

Answer

How do I use the finalize script to transfer certificates to the nodes?

In many cases, it might be desired to use node-specific certificates for certain service, e.g.:
- Make the SSH certificates persist through full re-installation.
- Use different... (More)

Answer

How do I set up a hardware RAID controller from an initialize script?

An initialize script is used when custom commands need to be executed before checking partitions and mounting devices. For example, to initialize some not-explicitly-supported hardware, or to... (More)

Answer

How do I write information out to a hard drive during pre-provisioning?

With a finalize script you write to somewhere under localdrive, which is the root of the local filesystem.
With an initialize script, things are a bit trickier.

Background... (More)

Answer

How do I handle network interfaces swapping names? eth0 keeps changing randomly on boot to eth1 and vice versa.


There are two ways to handle this issue:

  1. Reorder the load order of the kernel modules,
  2. Detect an invalid network interface... (More)