Skip to content

image-builder/upload-rootfs-name

An array list of files and directories to be excluded from the final tarbal image.

The final remote filename of the built Image that is generated by the image-builder. This can utilize built in shell variables for building up a unique name. The only supported shell variables that are supported are:

  • $TAG = The OS Name as defined in the BootEnv structure of the built image
  • $DSTAMP = The Date Stamp from date +%Y%m%d-%H%M%S
  • RS_IMAGE_IDENT = a uniquely generated ID with 10 character length (generated with uuidgen and md5sum)

The name should not contain any filename extension, as a .tgz will be automatically added. If the passed in value contains .tgz, it will be ignored/preserved. If a filename extension other than .tgz is provided in this Param, .tgz will still be appended to the final product.

The default value utilizes all of the optional shell variables that are supported and looks like:

  • $TAG-rootfs-$DSTAMP-$RS_IMAGE_IDENT

This will ultimately produce an uploaded file with the following format:

  • centos-8-rootfs-20201105-233755-53fcfe709c.tgz