Working Notes: 480 - eliminmax/cncs-journal GitHub Wiki

SYS/NET/SEC-480-01: Advanced DevOps

Milestone 1

Notes

An unfortunate accident led to me losing my working notes partway through the process of working on this project.

Device Configuration

Rather than Xubuntu, I installed Debian with the XFCE environment. I then modified my user's .bashrc file (see diff here), and appended some customisation to the system /etc/bash.bashrc file - the additions can be seen (here). A list of manually-installed packages can be found (here), and the commands used to configure the VyOS Router, with some information redacted, can be found here.

New Pages

Milestone 2

New Pages

Milestone 3

This was a pain - I thought I'd be clever and set this up while waiting for windows updates for the domain controller, but alas, that did not play out how I'd hoped. It failed several times, even after the server was set up, in different ways every time, because of the lack of a PTR record for its domain name, or because it detected the previous failed installs even though I'd deleted them. At one point, while waiting on the 4th or 5th attempt, I got bored, and logged into ESXi from within the debian-xfce-wan management system, and opened the browser console of the very same debian-xfce-wan management system. It was not nearly as interesting a result as I'd hoped. I then documented what I'd done on this page.

The first 8 or so attempts to install VSphere failed. The causes were mixed - 2 or 3 because I'd messed up configuration, but most because of some bizzare issue I could not make sense of. All attempts to debug it pointed me to one random blog post, (specifically this one), which included instructions to manually edit a file on the ISO, which I did not want to do.

Instead, what I did was create an overlayfs - which let me edit the files without overwriting the whole ISO. While waiting for that to succeed, I wrote notes on how I did it, and how overlayfs works, but right before it succeeded, the computer I was writing on froze completely. I had to hard reset it, and in doing so, lost about an hour of live notes from my troubleshooting. Once I rebooted, the installation had succeeded, but I was pretty proud of those notes. I was banking on vim saving at least some of my edits in a swap file, but no luck.