Leandro Dorileo e309b76760 mass installer: print progress only if not piped
With this we print only the new step getting started - not printing
the actuall progress - if the process is piped/redirected.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-10-02 09:13:21 -07:00
2018-08-13 14:14:30 -07:00
2018-08-13 14:14:30 -07:00
2018-09-25 09:56:40 -07:00
2018-08-13 14:14:30 -07:00
2018-09-27 14:50:33 -07:00
2018-09-27 14:50:33 -07:00
2018-09-25 15:33:15 -07:00
2018-10-01 14:59:22 -07:00
2018-08-13 14:14:30 -07:00
2018-09-27 12:24:59 -07:00
2018-08-13 14:14:30 -07:00
2018-08-13 14:14:30 -07:00
2018-09-27 12:24:59 -07:00
2018-09-06 13:16:17 -05:00
2018-08-13 14:14:30 -07:00

Clear Linux Installer

Dependencies

The following bundles are required in order to run clr-installer:

  • sysadmin-basic (for kbd)
  • storage-utils
  • network-basic

How to test?

Make sure you have any extra storage device, an USB memory stick should work fine, the installer will detect and use it if you choose.

Clone this repository

git clone https://github.com/clearnlinux/clr-installer.git

Build the installer

cd clr-installer && make

Install (installing the installer)

To create a bootable image which will launch the installer, use the mk-installer-image.sh in the scripts directory.

Create a bootable installer on USB media:

scripts/mk-installer-image.sh <usb device>

To create a raw image file and perform a Clear Linux install to it.

scripts/mk-installer-image.sh

Testing [Run as root]

In order to execute an install the user must run clr-installer as root. It's always possible to tweak configurations and only save the configuration for future use, in that case it's not required to run as root.

Having said that, to run a install do:

sudo .gopath/bin/clr-installer

Multiple Installer Modes

Currently the installer supports 2 modes (a third one is on the way):

  1. Mass Installer - using an install descriptor file
  2. TUI - a text based user interface
  3. GUI - a graphical user interface (yet to come)

Using Mass Installer

In order to use the Mass Installer provide a --config, such as:

sudo .gopath/bin/clr-installer --config ~/my-install.yaml

Using TUI

Call the clr-installer executable without any additional flags, such as:

sudo .gopath/bin/clr-installer

Reboot

If you're running the installer on a development machine you may not want to reboot the system after the install completion, for that use the --reboot=false flag, such as:

sudo .gopath/bin/clr-installer --reboot=false

or if using the Mass Installer mode:

sudo .gopath/bin/clr-installer --config=~/my-install.yaml --reboot=false
S
Description
No description provided
Readme
9.9 MiB
Languages
Go 92.9%
Shell 5.2%
Makefile 1.5%
CSS 0.3%
Python 0.1%