Need to ensure we download any updated vendor code
and pull the changes into our vendor path for check-in.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This is a good regression test to ensure that all of the previously
released DevOps images will still build correctly with the latest
clr-installer code.
Two new make targets.
check-all-images:
Run a long time as each is built in parallel
check-all-images-screen:
Run all the image builds using screen which can
be detached and allowed to run in the background.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We only want to offer the latest LTS kernel which is a
meta bundle around the official latest kernel. User can
manually switch to any available kernel after install.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Use the new --skip-validation-size flag to ignore the size
sanity minimums during the user interface installations.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes: #517
Enable the possibility of no /boot partition in legacy mode.
- add warning if no /boot and legacy
Warn the user that installing in legacy mode without a /boot
partition means the install will never boot in UEFI mode.
- Force off 64bit mode
When an ext file system is used for the /boot content
(no /boot partition, and booting legacy mode) we need to
disable 64bit flag or the image file system not boot.
https://wiki.syslinux.org/wiki/index.php?title=Filesystem#ext
- Blocked use of XFS due to partition table requirement to use MBR.
- Do not allow encryption of / w/o /boot
Refactor validation code for reuse by both standard and advanced
disk partitioning. Add new standard Desktop and Server wrapper
functions.
Move validation to common function, remove from Find Targets, and
remove redundant validation function.
Enable the skip size for advanced partitions.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We need to know if we are legacy mode before we parse the disk
partition information as legacy mode trigger different checking.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Add command line arguments and YAML file configurations for settings
skipping partition size checks during validation.
Skip Validation All implies Skip Size.
Never write skip validation options to YAML
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We were attempting to run the telemetry command to opt out
on the target when the binary was not present.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes several problems in the output of the log file.
- Escaping percent signs
- Wrong format for data type
- Unnecessary format strings
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
1.) Move some code to test so that they are not part of executable
2.) Remove unused code
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
Fixes: #628
Allow the use of the Advanced Media Partition labels from the command
line interface if no targetMedia is found in the YAML file.
The primary use case for this feature is PXE booting for installation.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This fixes the network test to use systemd-network or NetworkManager
service based on what is active
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
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>