How will the checkpoints in the distribution constructor be used by this command?

You are using the distribution constructor to build a custom text installer. You copied and modified
the default test installer XML file and issued the following command to build image:
# /usr/bin/distro_const build –v /usr/share/distro_const/new-dc_ai_x86.xml
How will the checkpoints in the distribution constructor be used by this command?

You are using the distribution constructor to build a custom text installer. You copied and modified
the default test installer XML file and issued the following command to build image:
# /usr/bin/distro_const build –v /usr/share/distro_const/new-dc_ai_x86.xml
How will the checkpoints in the distribution constructor be used by this command?

A.
The distribution constructor will create a snapshot of the data directory at a checkpoint and
report errors the log file until completed.

B.
The distribution constructor will stop at each checkpoint until you issue a distro_const restart
command.

C.
The distribution constructor will not use checkpoints without the correct CLI option added to the
command.

D.
The distribution constructor will stop at a checkpoint only if an error is encountered during the
image build.

Explanation:
Only verbose mode is selected (-v) not checkpoints options.
* You can use the options provided in the distro_const command to stop and restart the build
process at various stages in the image-generation process in order to check and debug the image
that is being built. This process of stopping and restarting during the build process is called

checkpointing. Checkpointing is optional.
Note:
* You can use the options provided in the distro_const command to stop and restart the build
process at various stages in the image-generation process, in order to check and debug your
selection of files, packages, and scripts for the image that is being built. This process uses the
checkpointing options that are available in the distro_const command.
* distro_const Command Options
/ distro_const build manifest
Builds an image in one step using specified manifest file
/ distro_const build -v
Verbose mode
/ distro_const build -l manifest
Lists all valid checkpoints at which you can pause and resume building an image
/ distro_const build -p checkpoint_name manifest
Pauses building an image at a specified checkpoint
/ distro_const build -r checkpoint_name manifest
Resumes building an image from a specified checkpoint
/ distro_const build -h
Displays help for the command
* After you have set up the manifest file that you plan to use and, if desired, customized the
finalizer scripts, you are ready to build an image by running the distro_const command.
You can use the distro_const command to build an image in either of the following:
In one step
Pausing and restarting the build as needed to examine the content of the image and debug the
scripts during the build process



Leave a Reply 2

Your email address will not be published. Required fields are marked *


dupek

dupek

You need use -p flag to set checkpoint and -r to resume.

lortiz

lortiz

D;

A manifest file contains default checkpoints which have to be passed in order to complete the creation image process.