Vyos Setup - seabar24/SYS-480 GitHub Wiki

VM Creation

First, create your VM and name it 480-fw.vyos.base.

Also have the settings for your Compatibility, Guest OS Family/Version set similar to below:

image

Next, set your Datastore to the larger storage:

image

Then customize the hardware similar to below:

image

image

  • CPU: 1
  • Memory: 2048 MB
  • Hard Disk: 8 GB
  • Disk Provisioning: Thin Provisioned
  • Network Adapters: 2, and set them to VM Network
  • CD/DVD: Datstore ISO File - vyos-rolling-latest.iso

Once complete, power on the VM.

Setting up Base VM

Once the VM is powered on and started, login using vyos as username and vyos as password.

Then run the command:

install image

From here, select the default options:

image

Keep choosing the defaults and when prompted change the default vyos password:

image

Once done, run a reboot when prompted:

image

After the reboot, I went into configure mode and deleted the current interfaces within to be used for cloning/base.

configure
delete interfaces ethernet eth0 hw-id
delete interfaces ethernet eth1 hw-id
commit 
save

image

From there, I set the eth0 interface to use DHCP and have SSH enabled from anywhere into the vyos

configure
set interfaces ethernet eth0 address dhcp
set service ssh listen-address 0.0.0.0
commit
save

image

image

Then I exited and powered off the vm. I edited the settings for the CD/DVD of the VM to Host Device instead of Datastore ISO File. And finally got a snapshot called Base.

image