small hosts configuration adjustment, added silay, added missing rsyslog.conf file
This commit is contained in:
@@ -38,7 +38,7 @@ NET4_NS_eth0="192.168.1.206 192.168.1.205"
|
|||||||
NET4_NS_SEARCH_eth0=$REALM
|
NET4_NS_SEARCH_eth0=$REALM
|
||||||
|
|
||||||
NET4_MODE_eth1="static"
|
NET4_MODE_eth1="static"
|
||||||
NET4_IP_eth1="192.168.1.221/24"
|
NET4_IP_eth1="192.168.74.221/24"
|
||||||
|
|
||||||
NET4_MODE_eth2="static"
|
NET4_MODE_eth2="static"
|
||||||
NET4_IP_eth2="10.0.254.221/16"
|
NET4_IP_eth2="10.0.254.221/16"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ NET4_NS_eth0="192.168.1.205 192.168.1.206"
|
|||||||
NET4_NS_SEARCH_eth0=$REALM
|
NET4_NS_SEARCH_eth0=$REALM
|
||||||
|
|
||||||
NET4_MODE_eth1="static"
|
NET4_MODE_eth1="static"
|
||||||
NET4_IP_eth1="192.168.1.220/24"
|
NET4_IP_eth1="192.168.74.220/24"
|
||||||
|
|
||||||
NET4_MODE_eth2="static"
|
NET4_MODE_eth2="static"
|
||||||
NET4_IP_eth2="10.0.254.220/16"
|
NET4_IP_eth2="10.0.254.220/16"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export PKGS_BASE="debconf-utils debhelper deborphan ethtool cpufrequtils \
|
|||||||
sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz \
|
sysbench sysstat ifstat iftop iotop mtr-tiny tcpdump mc pbzip2 pigz \
|
||||||
xz-utils zip unzip plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin \
|
xz-utils zip unzip plzip lzip ftp lftp bc dc dos2unix psmisc udunits-bin \
|
||||||
whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap \
|
whois tmux screen debconf-doc dump figlet gawk gpm multitail neofetch nmap \
|
||||||
oping pv whois traceroute rsync"
|
oping pv whois traceroute rsync tree"
|
||||||
|
|
||||||
# Agregation of the package lists
|
# Agregation of the package lists
|
||||||
export PKGSEL="$PKGS_BASE"
|
export PKGSEL="$PKGS_BASE"
|
||||||
|
|||||||
72
conf/silay.conf.sh
Normal file
72
conf/silay.conf.sh
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
# Fichier de configuration principal
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# -------------------- Importation de paramêtres globaux -----------------------
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Importe les paramètres geoffray-levasseur.org
|
||||||
|
. $MYPATH/conf/includes/gl.conf.sh
|
||||||
|
|
||||||
|
# Importe la sélection de paquets par défaut
|
||||||
|
. $MYPATH/conf/includes/pkgsel.base.conf.sh
|
||||||
|
|
||||||
|
# Les paramètres précédemment importés sont surchargeable après cette ligne
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# ------------------------------ General Section -------------------------------
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# User of the machine (must exists)
|
||||||
|
MAINUSER=root
|
||||||
|
|
||||||
|
# Pilotes X11 non libre à installer ?
|
||||||
|
#X11_DRV="virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11"
|
||||||
|
|
||||||
|
# Authentication: use LDAP+Kerberos ?
|
||||||
|
WITH_LDAP_KERB=no
|
||||||
|
|
||||||
|
# Users to create, add or remove
|
||||||
|
#LOCAL_USERS="$MAINUSER"
|
||||||
|
#REMOTE_USERS="kroot"
|
||||||
|
REMOVE_USERS=
|
||||||
|
|
||||||
|
# Network
|
||||||
|
IPV4_IFACES="eth0 eth1 eth2"
|
||||||
|
|
||||||
|
NET4_MODE_eth0="static"
|
||||||
|
NET4_IP_eth0="192.168.1.215/24"
|
||||||
|
NET4_GW_eth0="192.168.1.230"
|
||||||
|
NET4_NS_eth0="192.168.1.205 192.168.1.206"
|
||||||
|
NET4_NS_SEARCH_eth0=$REALM
|
||||||
|
|
||||||
|
NET4_MODE_eth1="static"
|
||||||
|
NET4_IP_eth1="192.168.74.215/24"
|
||||||
|
|
||||||
|
NET4_MODE_eth2="static"
|
||||||
|
NET4_IP_eth2="10.0.254.215/16"
|
||||||
|
|
||||||
|
NET6_MODE_eth0="static"
|
||||||
|
NET6_IP_eth0="2a03:7220:8081:b301::d7/64"
|
||||||
|
NET6_GW_eth0="2a03:7220:8081:b301::e6"
|
||||||
|
NET6_NS_eth0="2a03:7220:8081:b301::cd 2a03:7220:8081:b301::ce"
|
||||||
|
NET6_NS_SEARCH_eth0=$REALM
|
||||||
|
|
||||||
|
NET6_MODE_eth1="static"
|
||||||
|
NET6_IP_eth1="2a03:7220:8081:b34a::d7/64"
|
||||||
|
|
||||||
|
# Mode d'installation :
|
||||||
|
# * dev : installe les paquets un par un avec apt (lent)
|
||||||
|
# * full : envoie d'un seul coup la liste de tous les paquets à apt (rapide)
|
||||||
|
INTALL_MODE=full
|
||||||
|
|
||||||
|
# Paquets additionnels
|
||||||
|
PKGSEL="$PKGSEL samba smbclient"
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# -------------------------- Section modules d'init ----------------------------
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Liste des modules à executer (surchargeable en ligne de commande)
|
||||||
|
MODULE_LIST="conf_ntp upgrade_dist conf_ceph authnz conf_locale conf_ssh \
|
||||||
|
conf_mail install_pkg install_profile patch_snmp install_mkagent \
|
||||||
|
conf_syslog conf_network"
|
||||||
82
repo/common/rsyslog.conf
Normal file
82
repo/common/rsyslog.conf
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# /etc/rsyslog.conf Configuration file for rsyslog.
|
||||||
|
#
|
||||||
|
# For more information see
|
||||||
|
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
#### MODULES ####
|
||||||
|
#################
|
||||||
|
|
||||||
|
module(load="imuxsock") # provides support for local system logging
|
||||||
|
module(load="imklog") # provides kernel logging support
|
||||||
|
#module(load="immark") # provides --MARK-- message capability
|
||||||
|
|
||||||
|
# provides UDP syslog reception
|
||||||
|
#module(load="imudp")
|
||||||
|
#input(type="imudp" port="514")
|
||||||
|
|
||||||
|
# provides TCP syslog reception
|
||||||
|
#module(load="imtcp")
|
||||||
|
#input(type="imtcp" port="514")
|
||||||
|
|
||||||
|
|
||||||
|
###########################
|
||||||
|
#### GLOBAL DIRECTIVES ####
|
||||||
|
###########################
|
||||||
|
|
||||||
|
#
|
||||||
|
# Use traditional timestamp format.
|
||||||
|
# To enable high precision timestamps, comment out the following line.
|
||||||
|
#
|
||||||
|
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set the default permissions for all log files.
|
||||||
|
#
|
||||||
|
$FileOwner root
|
||||||
|
$FileGroup adm
|
||||||
|
$FileCreateMode 0640
|
||||||
|
$DirCreateMode 0755
|
||||||
|
$Umask 0022
|
||||||
|
|
||||||
|
#
|
||||||
|
# Where to place spool and state files
|
||||||
|
#
|
||||||
|
$WorkDirectory /var/spool/rsyslog
|
||||||
|
|
||||||
|
#
|
||||||
|
# Include all config files in /etc/rsyslog.d/
|
||||||
|
#
|
||||||
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
||||||
|
|
||||||
|
|
||||||
|
###############
|
||||||
|
#### RULES ####
|
||||||
|
###############
|
||||||
|
|
||||||
|
#
|
||||||
|
# First some standard log files. Log by facility.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Logging for the mail system. Split it up so that
|
||||||
|
# it is easy to write scripts to parse these files.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Some "catch-all" log files.
|
||||||
|
#
|
||||||
|
*.=debug;\
|
||||||
|
auth,authpriv.none;\
|
||||||
|
news.none;mail.none -/var/log/debug
|
||||||
|
*.=info;*.=notice;*.=warn;\
|
||||||
|
auth,authpriv.none;\
|
||||||
|
cron,daemon.none;\
|
||||||
|
mail,news.none -/var/log/messages
|
||||||
|
|
||||||
|
#
|
||||||
|
# Emergencies are sent to everybody logged in.
|
||||||
|
#
|
||||||
|
*.emerg :omusrmsg:*
|
||||||
|
|
||||||
|
# On envoie tout au serveur syslog
|
||||||
|
*.* @@SYSLOG_SRV@
|
||||||
Reference in New Issue
Block a user