<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>templates — LowEndSpirit</title>
        <link>https://staging.lowendspirit.com/index.php?p=/</link>
        <pubDate>Fri, 10 Apr 2026 11:08:30 +0000</pubDate>
        <language>en</language>
            <description>templates — LowEndSpirit</description>
    <atom:link href="https://staging.lowendspirit.com/index.php?p=/discussions/tagged/templates/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Centos8 template cleanup suggestions please</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/291/centos8-template-cleanup-suggestions-please</link>
        <pubDate>Wed, 11 Dec 2019 05:28:14 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>vimalware</dc:creator>
        <guid isPermaLink="false">291@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Background : I haven't really used any Redhat distro regularly since 2006 .<br />
At this point, I am a sort of a  noob to all the changes in centos land (learning a ton over the weekend.)<br />
At least systemd is the same everywhere.</p>

<p>So, I decided to make a centos8 KVM base template for my proxmox nodes after realizing that apnscp is CENTOS-only. (I usually just use hetzner cloud for Centos)</p>

<p>Here is a gist I found online (minus some vmware guest agent) Credit : <a href="https://gist.github.com/efeldhusen/4bea2031525203b1658b444f4709c12c" rel="nofollow">https://gist.github.com/efeldhusen/4bea2031525203b1658b444f4709c12c</a><br />
Any Edits or other suggestions members have for Centos8 compatibiliy?<br />
It mostly looks good to me.</p>

<pre><code>#!/bin/bash
#Paths are for Centos 7.x

# Install optional packages
/usr/bin/yum install -y epel-release
/usr/bin/yum install -y bash-completion htop yum-utils dkms

#stop logging services
/sbin/service rsyslog stop
/sbin/service auditd stop

#remove old kernels
/usr/bin/package-cleanup --oldkernels --count=1

#clean yum cache
/usr/bin/yum clean all

#force logrotate to shrink logspace and remove old logs as well as truncate logs
/usr/sbin/logrotate -f /etc/logrotate.conf
/bin/rm -f /var/log/*-???????? /var/log/*.gz
/bin/rm -f /var/log/dmesg.old
/bin/rm -rf /var/log/anaconda
/bin/cat /dev/null &gt; /var/log/audit/audit.log
/bin/cat /dev/null &gt; /var/log/wtmp
/bin/cat /dev/null &gt; /var/log/lastlog
/bin/cat /dev/null &gt; /var/log/grubby

#remove udev hardware rules
/bin/rm -f /etc/udev/rules.d/70*

#remove uuid from ifcfg scripts
/bin/sed -i '/^(HWADDR|UUID)=/d' /etc/sysconfig/network-scripts/ifcfg-myENSinterface_code

#remove SSH host keys
/bin/rm -f /etc/ssh/*key*

#remove root users shell history
/bin/rm -f ~root/.bash_history
unset HISTFILE

#remove root users SSH history
/bin/rm -rf ~root/.ssh/
poweroff
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>OpenVZ 7 / Virtuozzo 7 Minimal templates</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/15/openvz-7-virtuozzo-7-minimal-templates</link>
        <pubDate>Mon, 11 Nov 2019 12:06:27 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>InceptionHosting</dc:creator>
        <guid isPermaLink="false">15@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I made a complete set a few days ago, thought I would share them as I don't see them anywhere else.<br />
These are fully functional and VERY minimal templates for OpenVZ 7/ Virtuozzo 7, all tested.<br />
They range from 5mb to 9mb ram used on initial deployment:<br />
<a href="http://185.164.137.206/vz7/" rel="nofollow">http://185.164.137.206/vz7/</a><br />
For SolusVM you will need to be on at least the latest mainline release (probably better off on beta - upcp 3) which enables the EZ templates option when adding an OpenVZ templates in solusvm<br />
I have spend a fair bit of time working with the EZ template system now, its very different to OpenVZ 6 or "legacy templates" as they are now known so if anyone needs any help just shout up, not enough info public at this stage.</p>

<p>If your host does not have them available yet point them here <img src="https://staging.lowendspirit.com/plugins/emojiextender/emoji/twitter/smile.png" title=":)" alt=":)" height="18" /></p>
]]>
        </description>
    </item>
   </channel>
</rss>
