Skip to content

CLI tool to reserve, provision a system and use Jenkins job to install Satellite

License

Notifications You must be signed in to change notification settings

vijay8451/quicksystem

Repository files navigation

quicksystem

This is a cli tool to reserve, provision a system and use Jenkins job to install Satellite.

Features | Installation and Configuration | Examples | Version | License

1. Features

  • Reserve and provision any random system for Satellite and Content Host.
  • Re-provision a already reserved system .
  • Install Satellite using Jenkins installer job .
  • Install Satellite on already reserved system .
  • Setup Beaker client .
  • Send report over email of Satellite and Content host.

2. Installation and Configuration:

Step 1: Prerequisites

a. Install Python 3.6 and Pip3.
b. Setup Beaker Client.
c. Share ssh key of Local account and Jenkins Installer job with Beaker.

Step 2: to Install:

# git clone https://github.com/vijay8451/quicksystem.git
# sh setup.sh

Step 3: Copy the quicksystem.properties.sample and put the values, for more details refer comments provided under quicksystem.properties.sample:

# cp quicksystem.properties.sample quicksystem.properties
# vi quicksystem.properties

or using separate virtual env:

# python36 -m venv < myenv >
# source < myenv >/bin/active
# git clone https://github.com/vijay8451/quicksystem.git
# sh setup.sh

# cp quicksystem.properties.sample quicksystem.properties
# vi quicksystem.properties

3. Examples

  • To list all options:
# quicksystem 
Usage: quicksystem [OPTIONS] COMMAND [ARGS]...

 CLI tool to reserve, provision a system and use Jenkins job for Satellite.

Options:
 --help  Show this message and exit.

Commands:
 content-host       Reserve and provision content host.
 jenkins-installer  Install Satellite using Jenkins installer job.
 random-system      Reserve and provision any random system.
 setup-client       Setup beaker client.
 thesystem          Provision a already reserved system.
  • Setup beaker client:
# quicksystem setup-client
  • Reserve and provision any random system for Satellite:
# quicksystem random-system
  • Reserve and provision any random system for Satellite and content host:
# quicksystem random-system --help
Usage: quicksystem random-system [OPTIONS]

 Reserve and provision any random system.

Options:
 --jenkins-job TEXT   to run installer job i.e. --jenkins-job=True
 --content-host TEXT  to reserve and provision content hosts
                      i.e. --content-host=True
 --help               Show this message and exit.

# quicksystem random-system --content-host True --jenkins-job True
  • Provision a already reserved system:
# quicksystem thesystem --help
Usage: quicksystem thesystem [OPTIONS]

 Provision a already reserved system.

Options:
 --jenkins-job TEXT  to run installer job i.e. --jenkins-job=True
 --help              Show this message and exit.

# quicksystem thesystem --jenkins-job True

4. License

MIT

5. Version

Version

About

CLI tool to reserve, provision a system and use Jenkins job to install Satellite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published