- Add suspend lvm state for offline volumes.
- Need to check all children for possible install targets.
- LVM always written in /etc/fstab with UUIDs
- Enable logging for all extra selected bundles.
- controller: Add clr-init with lvm usage
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Prior to production using clr-installer for image generation
we created a parallel copy of their configs and scripts; this
is now redundant and frequently out of sync. Removing dups
and leaving a few examples and tests used by developers.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Documentation and standard convention requires allowInsecureHTTP
to be camel-case, but the code and documentation were both incorrect.
Some users will need to update the YAML files if they already
had the incorrect 'AllowInsecureHttp' which is now 'allowInsecureHTTP'.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
The size of the swapfile can be set in the YAML file
and overridden by the command line argument.
Update for usage of XiB or XB units.
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>
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>
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.
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>
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>
Optionally included bundles (also-add) can now be omitted from the
install target by passing the --swupd-skip-optional flag or by setting
the swupdSkipOptional field in the config file.
Signed-off-by: John Akre <john.w.akre@intel.com>
Fixes: #559
Allow the format to be set in the configuration YAML file
as well as on the command line.
Useful for mixes.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
When the version field in the config file is set to 0, the latest
version will be installed instead of the host's version.
Fixes: #502
Signed-off-by: John Akre <john.w.akre@intel.com>
Fixes: #478
Add new --allow-insecure-http flag to support the use of HTTP URLs.
This is needed to allow swupd to download content from http sites;
generally development mixes.
Also enable the use of the setting in both the TUI and GUI to allow
the user to set a swupd mirror which is HTTP.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Updating the installer to use the preferred swupd bundle
glibc-locale instead of locale. Both have the same definition.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
The kernel-arguments example is missing a pair of quotes for the remove
field-- without the quotes, two removal entries are added to
cmdline-removal.d on installation: "console=ttyS0" and "115200n8".
The quotes ensure that a single cmdline-removal.d entry,
"console=ttyS0,115200n8", is generated at installation time on the
target.
Signed-off-by: Joe Konno <joe.konno@intel.com>
Fixes Issue: #261
Pull Request #236 introduced a bug where local network interfaces
are always copied to the target media.
This PR correct this by only copying when copyNetwork is set to
true; this is enabled in the UI when the users changes a network
interface (for static).
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>