<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on My own blog - still WIP</title>
    <link>https://chonky.ru/categories/linux/</link>
    <description>Recent content in Linux on My own blog - still WIP</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 16 Oct 2023 05:28:05 -0700</lastBuildDate><atom:link href="https://chonky.ru/categories/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Migrating Windows VHDs to Proxmox</title>
      <link>https://chonky.ru/migrating_windows_vhd_to_proxmox/</link>
      <pubDate>Mon, 16 Oct 2023 05:28:05 -0700</pubDate>
      
      <guid>https://chonky.ru/migrating_windows_vhd_to_proxmox/</guid>
      <description>In this example I&amp;rsquo;m using a ZFS based datastore. To convert the VHD files to raw, I&amp;rsquo;m going to import and convert the VHD with the help of the following command. Before running the following command, a blank VM needs to be created first.
qm importdisk $VMID /path/to/vhd datastore Alternatively you can use qemu-img directly on the Proxmox host, to convert the VHD to .raw or .qcow2. I&amp;rsquo;m not going to do it this way tho, but you can go this route.</description>
    </item>
    
    <item>
      <title>Proxmox TOTP disable</title>
      <link>https://chonky.ru/proxmox-totp-disable/</link>
      <pubDate>Thu, 08 Jun 2023 23:01:46 +0200</pubDate>
      
      <guid>https://chonky.ru/proxmox-totp-disable/</guid>
      <description>Disabling TOTP temporarily can be useful to add a host to an existing proxmox cluster.
mv /etc/pve/priv/tfa.cfg /etc/pve/priv/tfa.cfg.bak And reverting with
mv /etc/pve/priv/tfa.cfg.bak /etc/pve/priv/tfa.cfg </description>
    </item>
    
    <item>
      <title>Proxmox VM Watchdog</title>
      <link>https://chonky.ru/proxmox-vm-watchdog/</link>
      <pubDate>Wed, 07 Jun 2023 20:33:47 +0200</pubDate>
      
      <guid>https://chonky.ru/proxmox-vm-watchdog/</guid>
      <description>It happens, hopefully not that often but it isn&amp;rsquo;t avoidable. Virtual machines do crash sometimes and this isn&amp;rsquo;t exactly a pleasure for sys admins. So what can be done to avoid it?
The following script will start your existing vms, which have the option &amp;ldquo;Start at boot&amp;rdquo; set to yes. The interval for this service can be changed in watchdog_vm.timer.An exclusion is also possible, if needed. In this case I did it with the tags feature.</description>
    </item>
    
    <item>
      <title>Updating yt-dlp unattended</title>
      <link>https://chonky.ru/updating-yt-dlp-unattended/</link>
      <pubDate>Wed, 31 May 2023 21:14:19 +0200</pubDate>
      
      <guid>https://chonky.ru/updating-yt-dlp-unattended/</guid>
      <description>Youtube tends to breake yt-dlp and I&amp;rsquo;m rarely using my teamspeak musicbot sinsbot, but when I do, I don&amp;rsquo;t want to also manually update yt-dlp just to listen to some music.
So let&amp;rsquo;s automate it, I decided to go with a .service and a .sh file for this.
yt-dl-updater.sh
#!/bin/bash wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp mv yt-dlp /opt/sinusbot/youtube-dl chmod a+rx youtube-dl chown sinusbot youtube-dl chown sinusbot:sinusbot youtube-dl yt-dl.service
[Unit] Description=yt-dl updater After=network-online.target [Service] ExecStart=/root/yt-dl-updater.</description>
    </item>
    
  </channel>
</rss>
