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>
When using the --root option with systemctl, libsystemd for the systemd
in the chroot will be resolved on the host. In cases where the systemd
in the chroot is a different version from the systemd on the host, this
will result in a library not found error. Need to chroot when eanbling
clr-installer service to avoid this problem.
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
Even though we are running as a login shell, the HOME is
not being set and hence neither is GOCACHE which is required
for golang 1.12 and beyond.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Update the latest release telemetry configuration file
and update the post install hook with the new default
and new maximum.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
To keep a consistent naming convention, rename installer image.
[image-name].yaml -> clear-[VER]- [image-name].img.[compression ext]
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Ensure high level of debug logging enabled for developers.
Also view console output on starndard tty to get rescue shell
during boot fails.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We're always offering users the desktop-autostart bundle when we
want to offer a desktop experience, this patch makes sure we keep
it consistent with this approach.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
The .desktop and the desktop wrapper script are now installed by the
make install target, so we don't need it anymore.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
In the post install start using install instead of cp and let it deal
with file permission and directory creation.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
The live-desktop has a custom set of default bundles, this patch
makes sure we install the proper default settings on post install
script.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
- Disable the terminal's scrollbar
- Remove the terminal's menu options; including the confusing 'help'
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This live-desktop os a full bloated desktop live image. It comes
with gnome, with autologin enabled also installs clr-installer and
set it as one of the favorite apps.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
With Clear Linux OS release 25xxx the new clr-installer bundle
is available which has all of the requirements for the new
Clear Linux OS Installer.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This patch sets the systemd-boot's timeout to 5 so the user may have
the opportunity to change the kernel arguments.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Create a custom image configuration file with a post-install hook
to "self install" clr-installer into the target system.
If installing clr-installer to an actual block device (i.e usb stick)
tweak the block-devices entries.
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Ensure both the main code and test clean up after themselves.
Testing for changes in the /tmp directory done in the Makefile
to ensure the testing is done outside of the code itself.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This is code is still alpha. The Text-based User Interface is
undergoing a resign of the layout before beta.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>