Giter VIP home page Giter VIP logo

compile-vib-tutorial's Introduction

Compile Vib in Docker (of CentOS 7)

The VMWare official vib make tool, i.e. VIB Author, has stopped updating for years. It is based SLES 11 SP2 strictly, no other OS or version works. Thanks for Lamw who make it running in Docker.

Prepare Docker

  1. Log in CentOS 7 with root
  2. yum -y install docker
  3. systemctl start docker
  4. (optional) systemctl enable docker
  5. docker pull lamw/vibauthor

You can test your Docker-vibauthor by : docker run --rm -it lamw/vibauthor You'll get a new root shell if everything is OK.

Prepare vib folder tree

  1. Get an example from some place, e.g. this repo.
  2. Edit descriptor.xml, and put your file into payload folder.
  3. Copy the folder to any place to your host, aka CentOS 7.

Copy folder tree to Docker

  1. docker run --rm -it lamw/vibauthor
  2. scp -r @172.17.0.1:/ , e.g. scp -r [email protected]:/build/vib-r8125-example ./vib-8125

Compile with vibauthor

  1. If you want vib only, just run: vibauthor -C -t , e.g. vibauthor -C -t ./vib-8125 --force (--force means replace old file). The vib file will be created in ./vib-8125/ with automatic name.

  2. If you want zip bundle, run: vibauthor -C -t -O .zip, e.g. vibauthor -C -t ./vib-8125 -O r8125-bundle.zip --force

  3. Copy the vib or zip back to your host.

P.S.

The file or folder name in payload must NOT exceed 8 characters.

compile-vib-tutorial's People

Contributors

realganfan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.