Commit Graph

517 Commits

Author SHA1 Message Date
Tom Alexander
f3980dc821 Add support for both NAT and RAW network interfaces in virtual machine.
This is used so metallb can announce public ip addresses.
2023-06-17 15:10:05 -04:00
Tom Alexander
bb41cb6a96 Also handle internal connections to port 6443. 2023-06-05 16:39:12 -04:00
Tom Alexander
5f590a8271 Forward port for kubernetes control plane. 2023-06-05 12:48:26 -04:00
Tom Alexander
765ee69d67 Add static mappings for more controllers and workers. 2023-06-01 16:38:54 -04:00
Tom Alexander
c91ba0953a Add cfssl to kubernetes. 2023-06-01 16:38:54 -04:00
Tom Alexander
48bc37f450 Integrate nvm with zsh. 2023-05-30 21:19:04 -04:00
Tom Alexander
e04c4e0d4d Install nvm and yarn for javascript/typescript development. 2023-05-30 21:19:03 -04:00
Tom Alexander
e2b82d8005 Add VNC support for bhyve. 2023-05-30 21:19:03 -04:00
Tom Alexander
67da2cc7c9 Expose the built packages from the poudriere host. 2023-05-30 13:36:09 -04:00
Tom Alexander
26d3f7e736 Switch to using config files for most settings.
This is to make it easier to juggle all the settings.
2023-05-29 18:35:30 -04:00
Tom Alexander
5f4939c9e6 Add support for raw bridging to an external interface for bhyve. 2023-05-29 17:41:02 -04:00
Tom Alexander
11079ff524 Set up log rotation for nginx in the poudriere vm. 2023-05-29 15:37:51 -04:00
Tom Alexander
b30182060f Set up nginx for poudriere. 2023-05-29 13:14:53 -04:00
Tom Alexander
ab0ab17201 Set up poudriere on mrmanager. 2023-05-29 08:38:31 -04:00
Tom Alexander
354c6b84ab Set up bhyve for mrmanager. 2023-05-29 00:03:09 -04:00
Tom Alexander
e49d008d57 Set up the nat_dhcp jail for mrmanager. 2023-05-28 22:48:19 -04:00
Tom Alexander
37f8749b3c Add wireguard configs for mrmanager. 2023-05-28 17:51:09 -04:00
Tom Alexander
433739d768 Add AMD cpu role for mrmanager. 2023-05-28 16:51:17 -04:00
Tom Alexander
271428a6f6 Add firewall to mrmanager. 2023-05-28 16:01:02 -04:00
Tom Alexander
37a14759f7 Switch to a lagg interface.
This is to avoid depending on the ethernet cable being plugged into a specific port.
2023-05-28 14:22:49 -04:00
Tom Alexander
081c6946f3 Add the base role to mrmanager. 2023-05-28 13:18:56 -04:00
Tom Alexander
6691cca055 Minimal shell setup for colo server. 2023-05-27 23:10:44 -04:00
Tom Alexander
d5a9ba5a84 Switch to using the LTS Linux kernel.
This is to avoid updating to a version that is not yet supported by ZFS, causing the DKMS build to fail.
2023-05-26 19:19:13 -04:00
Tom Alexander
64b1e95e8e Install the doas config on Linux. 2023-05-26 19:19:13 -04:00
Tom Alexander
8b7b39f356 Update sway config for matte framework laptop screen. 2023-05-26 12:11:39 -04:00
Tom Alexander
8f9440f675 Fix networking to jails. 2023-05-13 14:58:50 -04:00
Tom Alexander
58ba39d56f Add support for specifying CD iso image to mount in virtual machines. 2023-05-04 17:09:56 -04:00
Tom Alexander
c35b4a6c32 Add a doas role for both FreeBSD and Linux. 2023-05-04 00:54:52 -04:00
Tom Alexander
34a456c9b5 Exec the zfs send/recv commands. 2023-05-03 00:15:33 -04:00
Tom Alexander
a4e75f98d7 Add scripts for zfs send and recv for making full clones.
I most often need to make full clones when doing zfs send or recv so this writes down all the flags I prefer to use in a script so I do not forget them.
2023-05-01 22:20:55 -04:00
Tom Alexander
34a1ed73eb Update firewalls for new unifi controller address. 2023-05-01 21:54:59 -04:00
Tom Alexander
ad7fca700d Build rust-analyzer on FreeBSD.
The official FreeBSD package rust-analyzer crashes. I suspect this is because its built for rust stable which conflicts with the rust-nightly I have installed.
2023-05-01 20:04:59 -04:00
Tom Alexander
74fb8a3969 Disable cloning the ports tree.
Turns out I'm not going to use it yet so I don't want to needlessly check it out on all my machines.
2023-05-01 19:06:22 -04:00
Tom Alexander
730f9483bd Clone the FreeBSD ports tree. 2023-05-01 16:40:07 -04:00
Tom Alexander
728258d160 Add a static assignment for the unifi controller. 2023-04-30 17:18:21 -04:00
Tom Alexander
a44b8da509 Fix mac address validity. 2023-04-27 18:44:32 -04:00
Tom Alexander
740f2bdadd Remove vm-bhyve. 2023-04-27 17:27:18 -04:00
Tom Alexander
04a8ba064f This nat rule doesn't seem necessary. 2023-04-27 17:07:04 -04:00
Tom Alexander
8867761939 Transition the home server to the dynamic netgraph devices. 2023-04-27 17:05:33 -04:00
Tom Alexander
24bfa840ff Starting to transition the home server to the new dynamic netgraph devices. 2023-04-27 17:05:33 -04:00
Tom Alexander
5da4f8fb99 Install the bhyve management script. 2023-04-27 17:05:33 -04:00
Tom Alexander
15d5c73b5b Add commented out jaeger config because it is not working. 2023-04-27 17:05:33 -04:00
Tom Alexander
310837ddb3 Use statically-generated mac addresses. 2023-04-27 17:05:33 -04:00
Tom Alexander
e43fa0eab3 Destroy the bhyve vm after exit. 2023-04-27 17:05:32 -04:00
Tom Alexander
3dd710eab6 Start of a script for managing bhyve virtual machines. 2023-04-27 17:05:32 -04:00
Tom Alexander
9fcc955d13 Starting to write my own script to manage bhyve VMs.
vm-bhyve isn't going to allow me enough control to detect open netgraph hooks on bridges so I will manage the virtual machines myself.
2023-04-27 17:05:32 -04:00
Tom Alexander
0939203377 Switch to kea dhcp server for jail network. 2023-04-27 17:05:32 -04:00
Tom Alexander
ba7567ad9c Switch to using a script to dynamically spin up the netgraph bridge for jails. 2023-04-27 17:05:32 -04:00
Tom Alexander
be2e0c964b Install rust-coreutils. 2023-04-27 17:05:32 -04:00
Tom Alexander
93baeb9a98 Update gpg_auth for new path to socket. 2023-04-20 22:22:22 -04:00