by regnerba · 6y ago · 0 comments
Storage is an NFS mount from my Synology NAS.
The only reason I would really care to have a hypervisor is because then I can do more from Terraform.
I use Terraform to configure my DNS, my Ubiquiti gear, and the Swarm cluster but that leaves a gap where I need to do something to manage the actual CentOS machine. There isn't much to manage (users, SSHd config, SSH keys, packages such as vim, docker, and htop, and then NFS mounts) but the less I have to manage myself the better. Just don't think it's worth adding a whole hypervisor just to pull possibly some of the networking into Terraform.
Anyways, NUCs + Docker Swarm = great win.
* Client: 192.168.0.8/29 (whatever the smallest subnet is I can use that includes my NUC)
* Privilege: Read/Write
* Squash: No mapping
* Asynchronous: Yes
* Non-privileged port: Denied
* Cross-mount: Denied
This is fairly out of date (I keep my own stuff in a private monorepo, this was a snapshot I posted for a friend), but here is the basics of a script to setup my NUC: https://github.com/regner/homelab-stacks/blob/master/scripts...
Of note, the "Adding NFS share to fstab" part doesn't actually do that...