Howto build VyOS 1.2 ISO image and VMWare .OVF

From VyOS Wiki
Revision as of 11:57, 30 June 2017 by Max1e6 (talk | contribs)
Jump to: navigation, search

Executive Summary

This HowTo describes how to build VyOS 1.2 from source. This HowTo assumes you are familiar with install Linux distributions and working with ssh and in the command line.


  1. Create VyOS build machine
  2. Download and install prerequisite software
  3. Build ISO image
  4. Build qemu image
  5. Build vmware image

Create and Basic Build Machine Setup

  1. Download Debian 8 "jesse" (
  2. Install Debian either on a dedicated machine or as a virtual machines.

Once the build machine is created install sudo, open-vm-tools (if running in a VMWare virtual machine, which is not strictly necessary and it makes life a bit easier) and your preferred text editor. Aside: There are two types of Unix heads in the world...those that use vi and those that use emacs. I am in the latter camp. To quote my college friend Steph Baily, "One should know vi well enough to compile and run emacs."

NOTE: The following commands should be run as root:

apt-get install sudo
apt-get install open-vm-tools
apt-get install emacs

Install Required Software

sudo apt-get install git autoconf automake dpkg-dev syslinux genisoimage qemu jq libz-dev zip python3 live-build pbuilder devscripts python3-pystache

Download & Install Packer

Download & Compile VMWare open-vmdk

Download & Install VMWare ovftool

Download VyOS Source

Generate Private Key

Build VyOS