refactor: Remove librenms, add ansible/salt clients

- Remove all librenms references from initializers and configuration
- Keep tailscale as requested (remove netbird plans)
- Add ansible-core (already present) and salt-minion packages
- Create salt-client initializer for minion configuration
- Update roles to replace librenms-agent with salt-client
- Simplify oam initializer to only handle up2date script
- Update README to reflect new architecture and tools

Prepares infrastructure for migration to Salt configuration management
while maintaining tailscale for VPN connectivity.

💘 Generated with Crush

Assisted-by: GLM-4.6 via Crush <crush@charm.land>
This commit is contained in:
2026-01-21 11:43:35 -05:00
parent 0a7efe5303
commit afe61cae9d
111 changed files with 7156 additions and 352 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# KNEL Package Installation
# This initializer installs required packages
# This initializer installs required packages with conditional logic
set -euo pipefail
@@ -21,6 +21,7 @@ sh /tmp/webmin-setup.sh -f && rm -f /tmp/webmin-setup.sh
curl -fsSL https://tailscale.com/install.sh | sh
# Remove unwanted packages
export DEBIAN_FRONTEND="noninteractive"
apt-get -y --purge remove \
systemd-timesyncd \
chrony \
@@ -35,7 +36,7 @@ apt-get -y --purge remove \
apt-get --purge autoremove
# Install desired packages
apt-get install -y \
apt-get -y -o Dpkg::Options::="--force-confold" install \
virt-what \
auditd \
audispd-plugins \
@@ -68,6 +69,7 @@ apt-get install -y \
command-not-found \
lldpd \
ansible-core \
salt-minion \
net-tools \
dos2unix \
gpg \
@@ -103,19 +105,19 @@ apt-get install -y \
# Kali-specific packages
if [[ $KALI_CHECK -eq 0 ]]; then
apt-get install -y \
apt-get -y -o Dpkg::Options::="--force-confold" install \
latencytop \
cockpit-tests
fi
# KVM guest specific packages
if [[ $IS_KVM_GUEST -eq 1 ]]; then
apt-get install -y qemu-guest-agent
apt-get -y install qemu-guest-agent
fi
# Physical host specific packages
if [[ $IS_PHYSICAL_HOST -gt 0 ]]; then
apt-get install -y \
apt-get -y -o Dpkg::Options::="--force-confold" install \
i7z \
thermald \
cpufrequtils \