Skip to main content

GRUB UEFI HTTP Selector CLI

Project description

GUHS CLI

GRUB UEFI HTTP Selector CLI.

GUHS CLI allows you to install and manage GUHS in your system and expose its configuration into your GUHS Server.

This application it's part of GRUB UEFI HTTP Selector, for further information please visit the GitHub project.

Requirements

  • Root permissions.
  • python3.7.
  • Linux OS with UEFI GRUB bootloader.
  • GUHS server deployed. (see GUHS server).

Installation

pip3 install guhs-cli

Usage

GUHS installation

$ guhs-cli install
GUHS Server hostname/ip? <<user input>>
Available boot targets:
  1. Ubuntu
  2. Ubuntu2
  3. Windows XP
Default target? <<user input>>
Boot selection timeout? <<user_input>>

Show current configuration

$ guhs-cli show
GUHS status: ENABLED
GUHS HTTP server: 192.168.1.1:8080
Default target: 1. Ubuntu
Boot selection timeout: 10

Show boot targets

$ guhs-cli ls
1. Ubuntu
2. Ubuntu2
3. Windows XP

Set/Get configuration

## Set GUHS HTTP server
$ guhs-cli set server=192.168.1.1:80

## Get GUHS HTTP server
$ guhs-cli get server
192.168.1.1:80

## Set boot order
$ guhs-cli set default-target=1
$ guhs-cli set default-target=Ubuntu
$ guhs-cli set default-target=Windows XP

## Set boot selection timeout
$ guhs-cli set boot-selection-timeout=1

## Get boot order
$ guhs-cli get default-target
1

Remove GUHS from GRUB

$ guhs-cli uninstall
$ guhs-cli show
GUHS was not found in the system. Did you configure it with "guhs-cli configure"?

Project details


Release history Release notifications | RSS feed

This version

2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guhs-cli-2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

guhs_cli-2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file guhs-cli-2.tar.gz.

File metadata

  • Download URL: guhs-cli-2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for guhs-cli-2.tar.gz
Algorithm Hash digest
SHA256 465154a8f7f8231ee0a88e56f264c27f47c88787b36ce8f994745cdfe49c75f3
MD5 96dc6add3216c820d1130532d188c8fe
BLAKE2b-256 259042b404ea9fe1b2c01235b47f7aedef2397f2a42769ca75103cf1b76cd73e

See more details on using hashes here.

File details

Details for the file guhs_cli-2-py3-none-any.whl.

File metadata

  • Download URL: guhs_cli-2-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for guhs_cli-2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e850b8b94431f1b77fe10b613c263a37091179ebf3d4bebafd5f1ea2ca8fa2e
MD5 7ed04cff89ddbe0f86cc615a7bbe8e90
BLAKE2b-256 5040e6047667981ed808184003687e82944e8d7cbf13bc111bdfa2816a472133

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page