Skip to content

rbauduin/mptcp-box-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

These are scripts used to build vagrant mptcp enabled debian vagrant boxes.

Requirements

You need to have sudo access to run these script.

The scripts require apt-cacher-ng running on you machine, and debootstrap:

sudo apt-get install apt-cacher-ng debootstrap qemu-utils kpartx

If this commands executes successfully, it probably means you have sudo setup correctly.

These scripts also use virtualboxi(https://www.virtualbox.org/) and packer (https://packer.io/). Be sure to have packer executables in you path.

Running

Boxes are built in 2 steps:

  • build base system with dbootstrap, put it in a virtualbox, and export it as an appliance (.ova)
  • use packer to build a vagrant box from the ova

The ova file generated at the first step can be reused to build multiple boxes.

To generate the .ova, just run

./build-image.sh

Once you have the ova, you can use it to build vagrant boxes thanks to packer.

Two example packer config files are available in the packer directory:

You can run the script pack-box.sh to build the box with the config file of your choice, eg:

./pack-box.sh debian.json

Build your base vagrant box with mptcp kernel by running

./run.sh

Find your box in packer/box/mptcp.box

About

Scripts to build debian vagrant boxes with mptcp kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published