Giter VIP home page Giter VIP logo

interocitor's Introduction

Interocitor

ansible role for vfio setup automation

Installation

In order to use this role, git and ansible need to be installed (this depends on your distribution).

Debian

sudo apt install git ansible

Ubuntu

sudo apt install git ansible

Fedora

sudo dnf install git ansible python libselinux-python

Arch

sudo pacman -S git ansible

Using the Interocitor

  1. clone this repository anywhere you want
  • git clone https://github.com/insanitywholesale/interocitor
  1. go into it
  • cd interocitor
  1. edit the variables (username and grub_kernel_options) in defaults/main.yml for your distro
  • vi roles/vfio-arch/defaults/main.yml
  1. run the thing
  • ansible-playbook -i inventory interocitor.yml -b -K
  1. reboot
  • sudo reboot

Additional Notes

  • if you're running debian stretch or older, just comment out the rest, the ansible version in the repos is too old. installing ansible using pip does work but you're introducing a package that is being handled by pip and not the actual package manager. this is a solution that does work but it's up to you to decide if you want to comment out a few lines or install using pip.
  • fedora is a but weird and if you don't install the two additional packages listed above, it doesn't work. in addition, since python isn't there, ansible can't run anything so I can't even added to the required packages list. if you have a fix, feel free to share it.
  • the case of identical gpus is not supported at the moment. same goes for vbios dumping and patching.

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.