<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Legacy on Thaddeus Koenig</title><link>https://www.thaddeuskoenig.com/tags/legacy/</link><description>Recent content in Legacy on Thaddeus Koenig</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Thaddeus Koenig</copyright><lastBuildDate>Thu, 16 Jan 2025 06:06:24 -0500</lastBuildDate><atom:link href="https://www.thaddeuskoenig.com/tags/legacy/index.xml" rel="self" type="application/rss+xml"/><item><title>/bin/bash^M: bad interpreter</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_bash_bad_interpreter/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_bash_bad_interpreter/</guid><description>&lt;p&gt;Bash scripts are very sensitive to line endings which can cause some portability issues between windows and unix-like systems (depending on how the text editor encodes line breaks). If you would like to see the invisible characters that are making your life confusing simply type:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat -v &amp;lt;FILE&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The easiest solution to this issue is a simple sed replace line:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sed -i -e &amp;#39;s/\r$//&amp;#39; &amp;lt;FILE&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>400: Bad Request in HomeAssistant</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_400_bad_request_ha-copy/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_400_bad_request_ha-copy/</guid><description>&lt;p&gt;So for some reason in v2021.7.0 HomeAssistant introduced a bug that breaks a lot of systems that rely on its NGINX reverse proxy add-on to provide ssl capabilities. Thankfully the fix itself is pretty simple.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To begin, try to navigate to the site to produce the error, then in the HAS web GUI navigate to the Supervisor Logs (&lt;strong&gt;Settings&lt;/strong&gt;&amp;gt;&lt;strong&gt;System&lt;/strong&gt;&amp;gt;&lt;strong&gt;Logs&lt;/strong&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Grab the IP that shows up in the error that reads&lt;/p&gt;</description></item><item><title>400: Bad Request in HomeAssistant</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_400_bad_request_ha/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_400_bad_request_ha/</guid><description>&lt;p&gt;So for some reason in v2021.7.0 HomeAssistant introduced a bug that breaks a lot of systems that rely on its NGINX reverse proxy add-on to provide ssl capabilities. Thankfully the fix itself is pretty simple.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To begin, try to navigate to the site to produce the error, then in the HAS web GUI navigate to the Supervisor Logs (&lt;strong&gt;Settings&lt;/strong&gt;&amp;gt;&lt;strong&gt;System&lt;/strong&gt;&amp;gt;&lt;strong&gt;Logs&lt;/strong&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Grab the IP that shows up in the error that reads&lt;/p&gt;</description></item><item><title>Change Proxmox Default Port (Kinda)</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_change_proxmox_port/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_change_proxmox_port/</guid><description>&lt;p&gt;The Proxmox team doesnt really have any plans on changing the default port assigned to Proxmox (8006) and their documentation just tells you to use nginx to proxy the traffic if you want to change the default port so the following script should change your port to the port of your choosing [with 443 as the default].&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;#!/bin/bash
#Install nginx
apt install nginx

#Checks for your default nginx file and deletes it
FILE=/etc/nginx/conf.d/default
if [-f &amp;#34;FILE&amp;#34;];then
	rm $FILE
else
	rm /etc/nginx/sites-enabled/default
fi

#Pull the FQDN out of the hosts file
read -p &amp;#34;Enter the FQDN of your server or [ENTER] to set to default from /etc/hosts file&amp;#34; FQDN
if [ -z FQDN ]
then FQDN=$(hostname -f)
fi

#Create your new nginx File
cat &amp;gt; /etc/nginx/conf.d/proxmox.conf &amp;lt;&amp;lt; EOF
upstream proxmox {
 server &amp;#34;$FQDN&amp;#34;;
}

server {
 listen 80 default_server;
 rewrite ^(.*) https://$host$1 permanent;
}

server {
 listen 443;
 server_name _;
 ssl on;
 ssl_certificate /etc/pve/local/pve-ssl.pem;
 ssl_certificate_key /etc/pve/local/pve-ssl.key;
 proxy_redirect off;
 location / {
 proxy_http_version 1.1;
 proxy_set_header Upgrade $http_upgrade;
 proxy_set_header Connection &amp;#34;upgrade&amp;#34;; 
 proxy_pass https://localhost:8006;
	proxy_buffering off;
	client_max_body_size 0;
	proxy_connect_timeout 3600s;
 proxy_read_timeout 3600s;
 proxy_send_timeout 3600s;
 send_timeout 3600s;
 }
}
EOF

#test your config
nginx -t
#reload nginx
nginx -s reload

#creating some dependencies via systemd overrides
cat &amp;gt; /etc/systemd/system/nginx.service.d/override.conf &amp;lt;&amp;lt; EOF
[Unit]
Requires=pve-cluster.service
After=pve-cluster.service
EOF

systemctl restart nginx
systemctl enable --now nginx
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Change Proxmox to DHCP Client</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_change_proxmox_to_dhcp/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_change_proxmox_to_dhcp/</guid><description>&lt;p&gt;I don&amp;rsquo;t really like like allowing servers to set their own IP addresses, i think its kinda weird and i like to handle things at the network level so I typically have all my servers as DHCP clients and I set their addresses statically on the network device they&amp;rsquo;re attached to. Unfortunately proxmox doesn&amp;rsquo;t like that so it doesn&amp;rsquo;t include DHCP in the installer, which is fine. Its easily fixed.&lt;/p&gt;</description></item><item><title>Clear Home Assistant Refresh Tokens</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_clear_has_refresh/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_clear_has_refresh/</guid><description>&lt;p&gt;As much as I love Home assistant there are some small papercuts that can make it annoying to deal with, this is one of them. Every time you elect to &amp;ldquo;stay signed in&amp;rdquo; and you don&amp;rsquo;t sign out before exiting the page you&amp;rsquo;ll have a nice token sitting in this long list of your previous mistakes. I found this quick fix on Reddit, but understand that this will clear ALL the tokens in your home assistant (even the session that youre currently in) so you&amp;rsquo;ll have to log back in. In order to do it, just pop open your web console and paste the following javascript in there, your browser might bark at you saying something about pasting untrusted code, just allow pasting and keep it pushing.&lt;/p&gt;</description></item><item><title>Connecting ProxMox cluster over Tailscale</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_over_tailscale/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_over_tailscale/</guid><description>&lt;p&gt;This tutorial is assuming that you already have Tailscale installed on your Proxmox hosts, if you havent done so look at the &lt;a
 href="https://tailscale.com/kb/1038/install-debian-bullseye/"
 
 
 class="link--external" target="_blank" rel="noreferrer"
 
&gt;installation for Tailscale on Debaian Bullseye&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="install"&gt;Install&lt;a href="#install" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Because /etc/hosts has priority in all host lookups we are just going to edit the these files on any of the machines that we would like to connect. To do so you can simply vim /etc/hosts and your new host files will end up looking like this with host being the node you want to start the cluster on and remote being the node that will join the cluster&lt;/p&gt;</description></item><item><title>Copy ssh keys without ssh-copy-id</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_coppy_ssh_keys/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_coppy_ssh_keys/</guid><description>&lt;p&gt;I ran into this issue today so I thought that i would put a solution that I found on here. If you ever run into a situation in which you need to copy your ssh keys to another box but you dont have the handy dandy ssh-copy-id tool, the following one liner should work. Check out this oracle web page for more info.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat ~/.ssh/id_rsa.pub | ssh &amp;lt;USER&amp;gt;@&amp;lt;IP&amp;gt; &amp;#39;cat &amp;gt;&amp;gt; .ssh/authorized_keys &amp;amp;&amp;amp; echo &amp;#34;Done&amp;#34;&amp;#39;
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Creating a random private IPv6 Range</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_random_ipv6/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_random_ipv6/</guid><description>&lt;p&gt;If you&amp;rsquo;re anything like me and (and a good other portion of the internet) you don&amp;rsquo;t want to be bothered with IPv6 addressing because &amp;ldquo;IPv4 still works&amp;rdquo; but eventually its time to grow up and realize you need to start becoming more familiar with IPv6 outside of basic textbook knowledge and today I&amp;rsquo;m gonna teach you how to create a random IPv6 private range for if you need to set up VLANs, VPN tunnels, or whatever.&lt;/p&gt;</description></item><item><title>How to Clone a Virtual Machine in ESXI (without vCenter)</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_clone_esxi_no_vcenter/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_clone_esxi_no_vcenter/</guid><description>&lt;p&gt;When you&amp;rsquo;re running ESXI without vCenter, sometimes really niche things come up and you have situations that are kind of a pain without the appropriate management software so sometimes you gotta be a little janky.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;So Primarily you&amp;rsquo;re going to want to power off the VM you want to clone.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Then you want to right click the VM and chose Edit Settings.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the Virtual Hardware tab take not of the name and location of your Disk File.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Next you&amp;rsquo;re going to open your Datastore Browser by going Storage and in the Datastores tab click the Datastore Browser button.&lt;/p&gt;</description></item><item><title>Object type requires hosted I/O in HASOS on ESXI</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_object_type_hasos/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_object_type_hasos/</guid><description>&lt;p&gt;So for some reason that Home Assistant OS virtual machine doesn&amp;rsquo;t really like being on certain versions of Vmware ESXI (typically older versions as I assume they do their testing as close to the newer releases as possible). I believe the issue stems from needing to change your virtual disk to IDE instead of SCSI which causes some underlying hard drive integrity issues that they didn&amp;rsquo;t plan for. Nonetheless, the fix is pretty easy and just takes a couple of minutes on your time and a Linux terminal (or any terminal that can SSH I guess).&lt;/p&gt;</description></item><item><title>Proxmox Delete Cluster</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_delete_cluster/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_delete_cluster/</guid><description>&lt;p&gt;Theres no real way to delete a cluster in the gui with out doing a fresh install (that i know of) but the following set of commands should stop the cluster service, force it to local, delete the configs and restart it like new.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;systemctl stop pve-cluster
systemctl stop corosync
pmxcfs -l
rm /etc/pve/corosync.conf
rm -r /etc/corosync/*
killall pmxcfs
systemctl start pve-cluster
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Proxmox Qcow2 Import</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_qcow2_import/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_proxmox_qcow2_import/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;a href="#introduction" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;For those who aren&amp;rsquo;t familiar with the concept. Different hypervisors use different file formats to represent VM images and due to the fact that Proxmox uses Qemu (Quick Emulator)/KVM (Kernel-based Virtual Machine) to provide virtualization, it in turn uses Qcow2 (Qemu Copy-On-Write) as the storage file format for virtual machines data. The process to move Qcow2 files into Proxmox may not be as straight forward as it is on VMware, but its still a relatively painless process.&lt;/p&gt;</description></item><item><title>Pull public keys from Github url</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_pull_pulic_keys_git/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_pull_pulic_keys_git/</guid><description>&lt;p&gt;If you ever want a simple way to pull your public keys from Github so that you can use your safely stored ssh private keys where you need them.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;curl https://github.com/[USERNAME].keys
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This command will put it in your authorized_keys file which will actually allow you to use them in ssh.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;curl https://github.com/[USERNAME].keys | tee -a ~/.ssh/authorized_keys
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Sed alternate delimiters</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_sed_alternate_delimeters/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_sed_alternate_delimeters/</guid><description>&lt;p&gt;Sometimes when trying to replace text using the &lt;code&gt;sed&lt;/code&gt; command line tool you will tun into the issue in which your text has the forward slash characters which can be a bit of a headache because thats what sed uses to delimit strings. Thankfully the delimiter is pretty flexible. I like to use the pipe &amp;ldquo;|&amp;rdquo; symbol, but pretty much any other symbol will work such as the tilde &amp;ldquo;`&amp;rdquo; or the colon &amp;ldquo;:&amp;rdquo; ex:&lt;/p&gt;</description></item><item><title>Setting Up Omada SMTP with Gmail</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_setup_omada_gmail/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_setup_omada_gmail/</guid><description>&lt;p&gt;In order to get proper email notifications from the TP-link Omada SDN Controller you need to set up SMTP and have it authenticate to your email provider of choice (here we&amp;rsquo;re gong to use gmail). This tutorial is assuming that you have a google domain because you use the google SMTP servers to send your mail. Gmail allows application access to SMTP functions pretty seamlessly so this whole evolution takes like 5 mins.&lt;/p&gt;</description></item><item><title>SSH Auth Agent issues on FreeBSD</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_ssh_agent_issues/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_ssh_agent_issues/</guid><description>&lt;p&gt;So i was trying to make a script that would automate SSL key exports from a BSD machine to another so I don&amp;rsquo;t have to go through the pain of doing it manually every time and i ran into the issue of me not being able to ssh-copy-id my files over but i keep running into the issue of it not being able to connect to my auth agent due to a lack of keys even though i generated them with ssh-keygen, nonetheless no matter what I did i kept getting met with:&lt;/p&gt;</description></item><item><title>Testing Drive Read/Write Speed Via Terminal</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_testing_drive_read_write/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_testing_drive_read_write/</guid><description>&lt;p&gt;Just a quick example of how to use dd to test drive read/write speed. NOTE: Dont do this a lot or you could shorten the live of your drive since youre making arbitrary writes.&lt;/p&gt;
&lt;h2 id="reading"&gt;Reading&lt;a href="#reading" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo dd if=/dev/zero of=/tmp/test.img bs=1G count=1 oflag=dsync
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This command will write 1G of zeros to an arbitrary file of your choosing. Feel free to delete it when you&amp;rsquo;re done.&lt;/p&gt;
&lt;p&gt;Your output will look a little like this.&lt;/p&gt;</description></item><item><title>Ubuntu LVM Improper Partitioning</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_ubuntu_lvm_partitioning/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_ubuntu_lvm_partitioning/</guid><description>&lt;h2 id="the-problem"&gt;The Problem&lt;a href="#the-problem" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;When installing Ubuntu Server with the LVM option in the default partitioning options, it will often only use a fraction of the actual disk space you have available. Thankfully LVM is flexible enough to extend this partition without causing any huge issues to your operating system. In this writeup, I&amp;rsquo;m gonna extend a 15G volume to a 200G volume on my Ubuntu 22.04.3 LTS VM.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;user@ubuntu:~$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

loop0 7:0 0 55M 1 loop /snap/core18/1880

loop1 7:1 0 55.7M 1 loop /snap/core18/2812

loop2 7:2 0 63.9M 1 loop /snap/core20/2105

loop3 7:3 0 74.1M 1 loop /snap/core22/1033

loop4 7:4 0 71.3M 1 loop /snap/lxd/16099

loop5 7:5 0 91.8M 1 loop /snap/lxd/24061

loop6 7:6 0 40.9M 1 loop /snap/snapd/20290

sda 8:0 0 200G 0 disk 

├─sda1 8:1 0 1M 0 part 

├─sda2 8:2 0 1G 0 part /boot

└─sda3 8:3 0 199G 0 part 

 └─ubuntu--vg-ubuntu--lv 253:0 0 15G 0 lvm /

sr0 11:0 1 4.5G 0 rom 



user@ubuntu:~$ df -h

Filesystem Size Used Avail Use% Mounted on

tmpfs 794M 1.7M 793M 1% /run

/dev/mapper/ubuntu--vg-ubuntu--lv 15G 14G 497M 97% /

tmpfs 3.9G 0 3.9G 0% /dev/shm

tmpfs 5.0M 0 5.0M 0% /run/lock

/dev/sda2 974M 223M 684M 25% /boot

tmpfs 794M 16K 794M 1% /run/user/1000
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="the-fix"&gt;The Fix&lt;a href="#the-fix" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;First, let&amp;rsquo;s ensure that our physical volume is correctly sized, this command won&amp;rsquo;t really do much if it is, but ts worth running just to be sure.&lt;/p&gt;</description></item><item><title>VMware Vmmod/VMnet Install</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_vmware_vmod_install/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_vmware_vmod_install/</guid><description>&lt;p&gt;After upgrading my Ubuntu Version and subsequently my kernel I tried running VMware Workstation Pro so I could access my VMs and kept running into the following error code when trying to open the application. Unfortunately, there was no way around it as rebooting, uninstalling/reinstalling, and anything else in my usual low-hanging fruit bag of tricks didn&amp;rsquo;t work so I had to really figure out what was really going on. Lets start with the actual error.&lt;/p&gt;</description></item><item><title>Wireguard DNS issues with Debian</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_wireguard_dns_debian/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_wireguard_dns_debian/</guid><description>&lt;p&gt;When utilizing debian based distros, I&amp;rsquo;ve run into this issue a lot when I&amp;rsquo;m trying to use wireguard and specify DNS settings:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/usr/bin/wg-quick: line 31: resolvconf: command not found
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;A lot of this is because of systemd has its own resolvconf so you can simply make a symlink to get wireguard running normally:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf 
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>ZFS Remove All Snapshots</title><link>https://www.thaddeuskoenig.com/blog/00_legacy_zfs_remove_snapshots/</link><pubDate>Thu, 23 Nov 2023 00:00:00 -0500</pubDate><guid>https://www.thaddeuskoenig.com/blog/00_legacy_zfs_remove_snapshots/</guid><description>&lt;p&gt;Sometimes it&amp;rsquo;s good to have a nice purge of your ZFS snapshots, whether you&amp;rsquo;re pressed for space or you just feel like doing spring cleaning. The following command will clear all of your ZFS snapshots on your Ubuntu system.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning: There is no recovery, all the cannonballs have been shot. Only do this if you know you&amp;rsquo;re in a stable state.&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo zfs list -H -o name -t snapshot | sudo xargs -n1 zfs destroy
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>