Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlmontanari/vyos_packer
Super basic packer setup to bootstrap VyOs image for happy fun lab times
https://github.com/carlmontanari/vyos_packer
Last synced: 26 days ago
JSON representation
Super basic packer setup to bootstrap VyOs image for happy fun lab times
- Host: GitHub
- URL: https://github.com/carlmontanari/vyos_packer
- Owner: carlmontanari
- Created: 2018-06-21T22:55:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T00:36:22.000Z (over 6 years ago)
- Last Synced: 2023-03-04T01:48:31.651Z (almost 2 years ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple packer build to bootstrap a VyOs image for testing/labbing.
Replace values in obnoxious CAPS in the variables.json file with values relevant to your environment. These should be more or less self-explanatory.
This is setup to build on a distributed virtual switch, you can modify the VMX data to place it on a standard vSwitch if you prefer. If using a DVS, the DVS UUID is a long alpha-numeric UUID -- you can get this by browsing the MOB (https://[your vsphere ip]/mob and digging around in there) or querying it w/ PyVmomi or probably others as well. You can add additional NICs to the VM by adding adapters in the VMX section of the vyos_build.json file.
There is a down and dirty expect script in here that will enable the "guest hack" that allows Packer to find the IP address of the VM to connect to it after it fires up.
Running the buildme.sh script will enable the guest hack (you must first enable SSH on the ESX host), and the Packer build, passing in the variables from the variables.json file.
Happy VyOs'ing!