Running from Git Repository

Follow these instructions to run the setup.sh script:

  1. Open a terminal window.

  2. Clone the qubinode_navigator repository:

git clone https://github.com/tosin2013/qubinode_navigator.git
  1. Change directory to the qubinode_navigator folder:
    cd qubinode_navigator
    
  2. Make the setup.sh script executable:
    chmod +x setup.sh
    
  3. Run the setup.sh script:
    ./setup.sh
    

The script will now run and perform the necessary tasks, such as installing required packages, configuring the environment, and setting up the Qubinode Navigator.

Features

The setup.sh script performs the following tasks:

  • Detects the Linux distribution
  • Installs required packages
  • Configures SSH
  • Configures firewalld
  • Clones the Qubinode Navigator repository
  • Configures Ansible Navigator
  • Configures Ansible Vault using Ansiblesafe
  • Tests the inventory
  • Deploys KVM Host
  • Configures bash aliases
  • Sets up Kcli

Options

The setup.sh script accepts the following command-line options:

  • -h, --help: Show help message
  • --deploy-kvmhost: Deploy KVM host
  • --configure-bash-aliases: Configure bash aliases
  • --setup-kcli-base: Set up Kcli base
  • --deploy-freeipa: Deploy FreeIPA

For example, to deploy a KVM host, run: End to End Deployment

./setup.sh

Deploy KVM host

./setup.sh --deploy-kvmhost # Deploy KVM host

Deploy KCLI

./setup.sh --setup-kcli-base # Set up Kcli base

Help

./setup.sh --help # Show help message