Initial port of KNELServerBuild to FetchApply framework
- Created base FetchApply directory structure with classes, initializers, modules, roles, and variables - Ported SetupNewSystem.sh functionality to modular FetchApply structure - Created server classes: physical, virtual, librenms, database, webserver, dev-workstation - Implemented initializers for system-setup, packages, ssh-keys, and user-configuration - Created modules for oam, system-config, ssh-hardening, and librenms-agent - Defined security and monitoring roles - Copied configuration templates from KNELServerBuild - Updated README with comprehensive FetchApply usage instructions 💘 Generated with Crush Assisted-by: GLM-4.6 via Crush <crush@charm.land>
This commit is contained in:
34
variables
Normal file
34
variables
Normal file
@@ -0,0 +1,34 @@
|
||||
# KNEL FetchApply Configuration Variables
|
||||
# This file contains global variables used throughout the FetchApply modules
|
||||
|
||||
# Download root for external configurations
|
||||
export DL_ROOT="https://dl.knownelement.com/KNEL/FetchApply/"
|
||||
|
||||
# System detection variables (will be populated at runtime)
|
||||
export UBUNTU_CHECK
|
||||
export IS_PHYSICAL_HOST
|
||||
export SUBODEV_CHECK
|
||||
export LOCALUSER_CHECK
|
||||
export KALI_CHECK
|
||||
export VIRT_TYPE
|
||||
export IS_VIRT_GUEST
|
||||
export IS_KVM_GUEST
|
||||
export LIBRENMS_CHECK
|
||||
export NTP_SERVER_CHECK
|
||||
export DEV_WORKSTATION_CHECK
|
||||
export IS_RASPI
|
||||
|
||||
# User directories
|
||||
export ROOT_SSH_DIR="/root/.ssh"
|
||||
export LOCALUSER_SSH_DIR="/home/localuser/.ssh"
|
||||
export SUBODEV_SSH_DIR="/home/subodev/.ssh"
|
||||
|
||||
# Framework paths
|
||||
export KNELShellFrameworkRoot="/usr/local/share/KNEL/ShellFramework"
|
||||
|
||||
# Package management
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
# Logging
|
||||
export CURRENT_TIMESTAMP
|
||||
export LOGFILENAME="/var/log/fetchapply/knel-deployment.log"
|
||||
Reference in New Issue
Block a user