9 Commits
Author SHA1 Message Date
Brett T. Warden 1a0a63655a Force takeover of tty
This unit will stall indefinitely prompting for a password (even for
root) if anything else is holding the console. Instead, let this take it
over.
Also, /dev/console is default, so we don't need to specify it here.
2022-09-08 09:06:34 -07:00
Brett T. Warden caf07ee413 Call clr-installer directly instead of from bash
Retries should be handled later, if desired, via systemd's standard
mechanisms.
Also move reboot to ExecStartPost so it runs only if/after clr-installer
has *succeeded*.
2022-09-08 09:06:34 -07:00
Brett T. Warden aa82606e7a Call cat directly instead of via bash 2022-09-08 09:06:34 -07:00
Brett T. Warden 0a64d15f22 Let systemd check kernel command line options
Trying to avoid extra embedded bash calls -- use systemd's internal
conditions to check whether clri.descriptor is defined on the kernel
command line to decide whether to even run this unit.
2022-09-08 09:06:34 -07:00
Mark D Horn 8a7e4b486c Remove delay before PXE service
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>
2019-12-13 16:49:23 -08:00
Mark D Horn 44840cff7c pxe: Block service if no config file
Do not start the clr-installer provisioning service if there
was no configuration file supplied on the kernel command line.

As this service has already masked the getty for this tty, no
login prompt will be available on this terminal. The use will
have to switch to a different virtual terminal for login access.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-11-14 13:54:16 -08:00
Mark D Horn 9676538080 Add provisioning service for PXE installs
Used by PXE installations to start the install at boot-time.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-11-06 13:09:44 -08:00
Brian J Lovin c136712772 Add boot message, disable autolaunch, change PS1
Add a message printed on boot that gives basic information and
instructions to login as root and run clr-installer to install onto this
sytem.

Also change $PS1 on the installer image after logged in to
indicate we're booted into a live image.

Remove clr-installer.service from the Makefile and remove all the
toggling on or off from the yaml files.

Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2019-04-26 17:48:23 -07:00
Mark D Horn e84bb0e403 First Open Source push of code base
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>
2018-08-13 14:14:30 -07:00