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:
Next, set your Datastore to the larger storage:
Then customize the hardware similar to below:
CPU
: 1Memory
: 2048 MBHard Disk
: 8 GBDisk Provisioning
: Thin ProvisionedNetwork Adapters
: 2, and set them toVM 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:
Keep choosing the defaults and when prompted change the default vyos
password:
Once done, run a reboot
when prompted:
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
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
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
.