Skip to content

Instantly share code, notes, and snippets.

Created March 31, 2015 21:56
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
VyOS on Xen example config
# This can be defined as just 'pygrub' in newer versions of Xen
bootloader = '/usr/lib/xen-4.1/bin/pygrub'
memory = 512
name = 'vyos'
vcpus = 1
# Xen console doesn't display anything after pygrub, but VNC console does
# VNC virtual display
vfb = [ 'type=vnc' ]
# Disk device(s).
root = '/dev/sda ro'
# /dev/vg0/vyos is a whole disk image with partitions.
disk = [
# Networking
#xenbr0 is shared with host for LAN
#xenbr1 is for domU only for WAN.
# Set your own MAC addresess
vif = [ 'bridge=xenbr0, mac=0:0:0:0:0:0', 'bridge=xenbr1, mac=0:0:0:0:0:0']
# Behavior
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment