clr-installer

ClearLinux OS Installer

  • 所有者: clearlinux/clr-installer
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Clear Linux Installer

Clear Linux OS Security

As the installer is a part of the Clear Linux OS distribution, this program follows the Clear Linux OS Security processes.

Dependencies

In order to build and run clr-installer, install the latest clr-installer bundle:

Text-based only

swupd bundle-add clr-installer

Graphical installer

swupd bundle-add clr-installer-gui

How to test?

Make sure there is free storage space, such as a USB memory stick, unallocated disk, or unallocated (free) partition on a disk and choose it while running the installer.

Clone this repository

git clone https://github.com/clearlinux/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 installer.yaml as the config file.

sudo .gopath/bin/clr-installer --config scripts/installer.yaml

Refer to InstallerYAMLSyntax for syntax of the config file.

Create a bootable installer on USB media:

sudo .gopath/bin/clr-installer --config scripts/installer.yaml -b installer:<usb device> --iso

Note: Replace <usb device> with the usb's device file as follows:

sudo .gopath/bin/clr-installer --config scripts/installer.yaml -b installer:/dev/sdb --iso

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 3 modes

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

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

or

sudo .gopath/bin/clr-installer-tui

Using GUI

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

sudo .gopath/bin/clr-installer-gui

Reboot

For scenarios where a reboot may not be desired, such as when running the installer on a development machine, use the --reboot=false flag as follows:

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

主要指標

概覽
名稱與所有者clearlinux/clr-installer
主編程語言Go
編程語言Makefile (語言數: 5)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2018-07-20 17:16:35
推送於2025-06-10 22:54:23
最后一次提交2025-06-10 15:27:36
發布數64
最新版本名稱2.7.16 (發布於 )
第一版名稱1.0.0 (發布於 )
用户参与
星數99
關注者數9
派生數47
提交數800
已啟用問題?
問題數337
打開的問題數74
拉請求數434
打開的拉請求數2
關閉的拉請求數38
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?