It is unknown how long each shell command can take or there may
be only a single call to a long-running script so make this
indeterminate to output spinner progress.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #531
Add new hook to be called after image generation is completed.
Update base image test to use post-image hook
This is useful for image manipulation such as compression, format
modification, etc.
A recent change in Clear Linux OS resulted in partprobe no longer
processing loop back devices by default. Adding --partscan to
losetup ensures we read the partition table changes.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #649
When post-install hooks are run in a chroot, the network is
inherited from the host, but DNS is not configured.
This work-around temporarily copy's the hosts /etc/resolv.conf
to enable DNS in the chroot.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
These configurations are intended to two different cbm configurations with dedicated
boot partitions either vfat and ext4 formatted.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Fixes Issue: #635
The user used to mistakenly click on items in the additonal bundles
page having to wait long duration unecessarily if the network did not work.
This provides the user with a Note saying that selecting an additional
bundle requires a working internet connection
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
Fixes Issue: #635
The user used to mistakenly click on items in the additonal bundles
page having to wait long duration unecessarily if the network did not work.
This provides the user with a Note saying that selecting an additional
bundle requires a working internet connection
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
Add the publisher and the application/image type to the ISO.
- ApplicationId set to 'server' by default, 'desktop' if any
bundles are included which contain the name 'desktop.
- ApplicationId can be overridden via the YAML file
- Publisher only set if included in YAML file
Add new test coverage.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
With the new flag we can easily instruct clr-installer to use an arbitrary
build/install, this flag eases the clr-boot-manager's CI by testing image generation
before we land new features.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Black and white theme to improve contrast
Active button reversed, bold, underline to standout
Fixes: #217
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Bring the vendor code up to latest releases.
github.com/VladimirMarkelov/clui
- Switched from release 1.2.0 to tip of master to
pick up required fix which was upstreamed.
Revert to release once 1.2.2 is released.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #447
Some failures with media left the progress bar active
and did not give a visual failure cue.
Add the executable to the message
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Initially the service was written to be a one-shot service
hence the need for the delay to ensure a stable network before
starting the service. Since the service was rewritten to run
in an infinite loop until installation succeeds, the delay is
no longer needed.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #623
If a whole disk is used that contains logical volumes, they
need to be removed before re-using the disk.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #600
Only copy the swupd configuration files from the host to the target
by default when running the interactive installer (gui or tui).
Otherwise, observe the setting from the configuration YAML or the
command line (highest) argument.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #614
Ensure we retain the selected disk from the chooser box
during refresh like setting an encryption password.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Ignore the --iso and --keep-image flags for the massinstaller
when installing onto physical media as they do not logically apply.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Ensure we do not allow the user to set options, either
via command line or in the default configuration file,
which would not be valid during an interactive installation.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Enable parsing of RAID types even though they are not
currently support installation targets.
Fixes: #609
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
If an ISO can not be generated due to multiple kernels, then
ensure that we keep the raw image file.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>