Difference between revisions of "Howto build VyOS 1.2 ISO image and VMWare .OVF"

From VyOS Wiki
Jump to: navigation, search
m
m (Executive Summary)
Line 3: Line 3:
 
== Executive Summary ==
 
== 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.
+
This HowTo describes how to build VyOS 1.2 from source. This HowTo assumes you are familiar with installing Linux and are comfortable working in a command line.
  
 
=== Overview ===
 
=== Overview ===
Line 11: Line 11:
 
# Build ISO image
 
# Build ISO image
 
# Build qemu image
 
# Build qemu image
# Build vmware image  
+
# Build vmware image
  
 
== Create and Basic Build Machine Setup ==
 
== Create and Basic Build Machine Setup ==

Revision as of 12:00, 30 June 2017

Please Note This is a work in progress. Expect to be completed by 3 July 2017

Executive Summary

This HowTo describes how to build VyOS 1.2 from source. This HowTo assumes you are familiar with installing Linux and are comfortable working in a command line.

Overview

  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" (https://www.debian.org/releases/jessie/)
  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