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.
- Log in CentOS 7 with root
yum -y install docker
systemctl start docker
- (optional)
systemctl enable docker
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.
- Get an example from some place, e.g. this repo.
- Edit descriptor.xml, and put your file into payload folder.
- Copy the folder to any place to your host, aka CentOS 7.
docker run --rm -it lamw/vibauthor
- scp -r @172.17.0.1:/ , e.g.
scp -r [email protected]:/build/vib-r8125-example ./vib-8125
-
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. -
If you want zip bundle, run: vibauthor -C -t -O .zip, e.g.
vibauthor -C -t ./vib-8125 -O r8125-bundle.zip --force
-
Copy the vib or zip back to your host.
The file or folder name in payload must NOT exceed 8 characters.