Giter Site home page Giter Site logo

miqbox's Introduction

alt text alt text

miqbox

Spin ManageIQ/CFME Appliance locally with Virtualization.

Under progress...

Prerequisite:

  1. Virtualization:

    • Fedora
      sudo dnf install @virtualization
      systemctl start libvirtd
      systemctl enable libvirtd
      If you want optional packages
      dnf group install --with-optional virtualization
    • Ubuntu
      sudo apt-get install qemu-kvm
  2. Devel Packages:

    sudo dnf install libvirt-devel python-devel python3-devel

Install:

  • pip

    pip install miqbox --user
  • source

    python setup.py install --user

Note: For Development install in editable mode.

Troubleshooting:

  • libvirt: Polkit error
  • To prevent libvirt from asking root password:
    • Add libvirt group (It may be present by default)
      sudo groupadd libvirt
      
    • Add not root user as member
      sudo usermod -a -G libvirt <username>
      
    • Add Polkit rule for libvirt:
      vim /etc/polkit-1/rules.d/80-libvirt.rules
      
      polkit.addRule(function(action, subject) {
      if (action.id == "org.libvirt.unix.manage"
          && subject.local
          && subject.active
          && subject.isInGroup("libvirt")) {
      return polkit.Result.YES;
      }
      });
      

Usage:

 Usage: miqbox [OPTIONS] COMMAND [ARGS]...
 
   Command line application entry point
 
 Options:
   --help  Show this message and exit.
 
 Commands:
   config     Configure miqbox
   create     Create Appliance
   evmserver  Restart Miq/CFME Server
   images     Get local or remote available image Args: local: default, will...
   kill       Kill Appliance
   pull       Download Image
   rmi        Remove local Image
   start      Start Appliance
   status     Appliance Status
   stop       Stop Appliance

miqbox's People

Contributors

digitronik avatar ganeshhubale avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.