<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Linux Forum - VHT Forum				            </title>
            <link>https://www.virtualizationhowto.com/community/linux-forum/</link>
            <description>Virtualization Howto Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 12 Jun 2026 20:35:48 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Commands to generalize Linux VM templates</title>
                        <link>https://www.virtualizationhowto.com/community/linux-forum/commands-to-generalize-linux-vm-templates/</link>
                        <pubDate>Mon, 04 May 2026 16:16:16 +0000</pubDate>
                        <description><![CDATA[Hey guys, in case you ade creating templates these are the commands to run when you create a Linux VM template as it will allow them to be generalized when you clone them.
sudo rm -f /etc/s...]]></description>
                        <content:encoded><![CDATA[<p>Hey guys, in case you ade creating templates these are the commands to run when you create a Linux VM template as it will allow them to be generalized when you clone them.</p>
<pre contenteditable="false">sudo rm -f /etc/ssh/ssh_host_*
sudo truncate -s 0 /etc/machine-id
sudo rm -f /var/lib/dbus/machine-id
sudo cloud-init clean
sudo shutdown -h now</pre>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/linux-forum/">Linux Forum</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/linux-forum/commands-to-generalize-linux-vm-templates/</guid>
                    </item>
				                    <item>
                        <title>WSL new tar based Ubuntu install and configuration: Easy Customization and you can self-host</title>
                        <link>https://www.virtualizationhowto.com/community/linux-forum/wsl-new-tar-based-ubuntu-install-and-configuration-easy-customization-and-you-can-self-host/</link>
                        <pubDate>Thu, 06 Feb 2025 03:05:15 +0000</pubDate>
                        <description><![CDATA[In case you haven&#039;t heard there is a cool new deployment method that is supported by Ubuntu for WSL Ubuntu instances. Microsoft has a new tar-based WSL distribution format. This will allow y...]]></description>
                        <content:encoded><![CDATA[<p>In case you haven't heard there is a cool new deployment method that is supported by Ubuntu for WSL Ubuntu instances. Microsoft has a new tar-based WSL distribution format. This will allow you to have the ability to fully manage the deployment of WSL distributions. It will allow organizations and system admins to install WSL instances directly from tar files which means you will no longer have to install your Ubuntu instances from the Microsoft Storee</p>
<p>This will open up some really great new features and capabilities, including the following:</p>
<ul>
<li><strong>Easier Deployment</strong> – You can now use just a simple tar file with the command <code>wsl --install --from-file ubuntu.tar.wsl</code></li>
<li><strong>Enterprise management and better security </strong>– Organizations can fully manage and self-host their WSL instances to have full control over which WSL installations are run within the organization</li>
<li><strong>Customization</strong> – Images of Ubuntu can be customized before deployment. This will support the ability to have full cloud-init support for automation</li>
</ul>
<p><img src="https://www.virtualizationhowto.com/wp-content/uploads/wpforo/attachments/2/569-microsoft-new-tar-installation-method-for-WSL.jpg" /></p>
<h3><strong>How do you use this new way of installing?</strong></h3>
<p>First of all you will need to have the WSL version 2.4.8 or higher. Then, you can use the following as we have always done:</p>
<div class="contain-inline-size rounded-md border- border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950">
<div class="sticky top-9 md:top-">
<div class="absolute bottom-0 right-2 flex h-9 items-center">
<div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary">
<pre contenteditable="false">wsl --install ubuntu</pre>
</div>
</div>
<div> </div>
<div>or the new approach using the tar file.</div>
<div> </div>
</div>
</div>
<div class="contain-inline-size rounded-md border- border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950">
<div class="sticky top-9 md:top-">
<div class="absolute bottom-0 right-2 flex h-9 items-center">
<div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary">
<pre contenteditable="false">wsl --install --from-file ubuntu.tar.wsl</pre>
</div>
</div>
</div>
</div>
<p>I'm looking forward to diving into this a bit more and see how we can create and manage our own WSL image.</p>
<p>Check out the blog post from Ubuntu here: <a href="https://ubuntu.com/blog/ubuntu-wsl-new-format-available">Ubuntu available in Microsoft’s new WSL distribution format | Ubuntu</a></p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/linux-forum/">Linux Forum</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/linux-forum/wsl-new-tar-based-ubuntu-install-and-configuration-easy-customization-and-you-can-self-host/</guid>
                    </item>
				                    <item>
                        <title>Disable systemd-resolved: Fix Ubuntu DNS resolution</title>
                        <link>https://www.virtualizationhowto.com/community/linux-forum/disable-systemd-resolved-fix-ubuntu-dns-resolution/</link>
                        <pubDate>Sun, 19 Jan 2025 16:03:05 +0000</pubDate>
                        <description><![CDATA[If you have encountered issues with Ubuntu DNS resolution in a home lab or production environment, chances are, it may be the systemd-resolved service that is causing issues. By default Ubun...]]></description>
                        <content:encoded><![CDATA[<p>If you have encountered issues with Ubuntu DNS resolution in a home lab or production environment, chances are, it may be the systemd-resolved service that is causing issues. By default Ubuntu installs the systemd-resolved service which points the Ubuntu server to a symlinked file located at <strong>/etc/resolv.conf</strong>.</p>
<p>I will show you the workaround steps to disable the systemd-resolved service and remove the symlink file and enter your own DNS settings in a non-symlinked file at this location.</p>
<h2 data-pm-slice="1 1 []" data-en-clipboard="true">Stop the service</h2>
<p>Below, stop the service and disable it. Then you can mask the service.</p>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo systemctl mask systemd-resolved</pre>
</div>
</div>
<h2>Check for symlink</h2>
<p>Below is optional, but you can check to see if the file is indeed a symlink.</p>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">ls -l /etc/resolv.conf</pre>
</div>
</div>
<h2>Remove symlink</h2>
<p>Remove the symlink.</p>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">sudo rm /etc/resolv.conf</pre>
</div>
</div>
<h2>Create a new file</h2>
<p>Below is an example of how you can easily configure the file with your own values. Below I am pointing to my DNS server at 10.1.149.10 and the internal DNS search domain "cloud.local" and entering this into the /etc/resolv.conf file.</p>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">bash -c 'echo -e "nameserver 10.1.149.10\nsearch cloud.local" &gt; /etc/resolv.conf'</pre>
</div>
</div>
<h2>Set the file to immutable</h2>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">sudo chattr +i /etc/resolv.conf</pre>
<p>The above will make sure this file can't be changed by other processes or anything that tries to modify this file.</p>
<p>Using these steps you will find that your DNS resolution will likely work much better and have more consistent behavior that you would expect if you have a DNS server that you want to point your Ubuntu server to.</p>
</div>
</div>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/linux-forum/">Linux Forum</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/linux-forum/disable-systemd-resolved-fix-ubuntu-dns-resolution/</guid>
                    </item>
				                    <item>
                        <title>Best .bashrc files for making your Linux terminal look good</title>
                        <link>https://www.virtualizationhowto.com/community/linux-forum/best-bashrc-files-for-making-your-linux-terminal-look-good/</link>
                        <pubDate>Tue, 07 Jan 2025 14:47:44 +0000</pubDate>
                        <description><![CDATA[If you are delving into Linux or even Windows Subsystem for Linux (WSL), you may not like the default look of the terminal. There is actually a way to make your Linux terminal look much bett...]]></description>
                        <content:encoded><![CDATA[<p>If you are delving into Linux or even Windows Subsystem for Linux (WSL), you may not like the default look of the terminal. There is actually a way to make your Linux terminal look much better, and that is the .bashrc file. With the .bashrc file you can customize the look and feel of the terminal to suit your needs and even add useful information.</p>
<p>There are a couple of .bashrc files that I have tried and love to use and I will share with you guys the links for these. The first of these is Tom Lawrence's .bashrc file that he has made available to the community.</p>
<p>You can check out the repo for Tom's "dot" files here: <a href="https://github.com/lawrencesystems/dotfiles">lawrencesystems/dotfiles: Lawrence Systems Dot Files</a></p>
<p>There is also a really great bashrc file called the Ultimate BashRC file. You can find that one here: <a href="https://gist.github.com/zachbrowne/8bc414c9f30192067831fafebd14255c">The Ultimate Bad Ass .bashrc File</a></p>
421
<p>Hopefully you will find these helpful and great additions to your Linux environment. Just wanted to share what I am using.</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/linux-forum/">Linux Forum</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/linux-forum/best-bashrc-files-for-making-your-linux-terminal-look-good/</guid>
                    </item>
				                    <item>
                        <title>Install NTP Ubuntu 20.04 22.04 and 24.04 Server</title>
                        <link>https://www.virtualizationhowto.com/community/linux-forum/install-ntp-ubuntu-20-04-22-04-and-24-04-server/</link>
                        <pubDate>Wed, 01 Jan 2025 03:22:55 +0000</pubDate>
                        <description><![CDATA[Installing NTP in your Ubuntu Server or workstation helps to make sure everything works smoothly especially with systems that depend on time sychronization. One of these is Ceph or Microceph...]]></description>
                        <content:encoded><![CDATA[<p>Installing NTP in your Ubuntu Server or workstation helps to make sure everything works smoothly especially with systems that depend on time sychronization. One of these is Ceph or Microceph. Let's look at the quick steps to get NTP installed and configured in Ubuntu.</p>
<p>To install the NTP package, run the following command:</p>
<pre contenteditable="false">sudo apt install ntp -y</pre>
<div data-pm-slice="1 2 []" data-en-clipboard="true"> </div>
<div data-pm-slice="1 2 []" data-en-clipboard="true">Add the NTP Server Pool that you want to use. To do that, we edit the file <strong>/etc/ntp.conf</strong>. In that file, place the following as an example if you are in the US:</div>
<div> </div>
<div data-codeblock="true" data-syntax-language="bash" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">sudo nano /etc/ntp.conf</pre>
</div>
</div>
<div data-plaintext="true"> </div>
<div>Add the following in that file:</div>
<div> </div>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false"># Use US-based NTP servers from the NTP Pool Project
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst</pre>
</div>
</div>
<div> </div>
<div>Restart NTP service</div>
<div> </div>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">sudo systemctl restart ntp</pre>
</div>
<div data-plaintext="true"> </div>
</div>
<div>View the configuration:</div>
<div> </div>
<div data-codeblock="true" data-line-wrapping="false">
<div data-plaintext="true">
<pre contenteditable="false">ntpq -p</pre>
</div>
</div>
<div data-plaintext="true"> </div>
<div data-plaintext="true">Hopefully, this will help anyone looking to install and configure NTP in Ubuntu.</div>
<div data-plaintext="true"> </div>
<div data-plaintext="true"> </div>
<div data-plaintext="true"> </div>
<div data-plaintext="true"> </div>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/linux-forum/">Linux Forum</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/linux-forum/install-ntp-ubuntu-20-04-22-04-and-24-04-server/</guid>
                    </item>
							        </channel>
        </rss>
		