# INTERNAL ZONE
firewall-cmd --set-default-zone=internal
firewall-cmd --zone=internal --add-interface=bond0 --permanent
firewall-cmd --zone=internal --add-service={dhcp,tftp,http,https,dns,nfs,mountd,rpc-bind} --permanent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
bind -n F5 setw synchronize-panes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[:b1dcc9dd-5262-4d8d-a863-c897e6d979b9] | |
background-color='rgb(23,20,33)' | |
font='Cascadia Code 16' | |
foreground-color='rgb(208,207,204)' | |
palette=['rgb(0,0,0)', 'rgb(205,0,0)', 'rgb(0,205,0)', 'rgb(205,205,0)', 'rgb(0,0,238)', 'rgb(205,0,205)', 'rgb(0,205,205)', 'rgb(229,229,229)', 'rgb(127,127,127)', 'rgb(255,0,0)', 'rgb(0,255,0)', 'rgb(255,255,0)', 'rgb(92,92,255)', 'rgb(255,0,255)', 'rgb(0,255,255)', 'rgb(255,255,255)'] | |
use-system-font=false | |
use-theme-colors=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authoritative; | |
allow bootp; | |
default-lease-time 600; | |
max-lease-time 7200; | |
log-facility local0; | |
ddns-update-style none; | |
# Parent class for all test | |
class "test" { | |
match concat( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slack-vm1: | |
default_gateway: 192.168.1.1 | |
interfaces: | |
- name: eth0 | |
addresses: | |
- 192.168.1.21/24 | |
vlan: 100 # VLAN tag for an access port | |
- name: eth2 | |
addresses: | |
- 10.12.0.10/16 |
https://datatracker.ietf.org/doc/html/rfc7047
https://manintheit.org/2019/12/17/creating-vlans-on-kvm-with-openvswitch/
https://blog.christophersmart.com/2020/07/27/how-to-create-linux-bridges-and-open-vswitch-bridges-with-networkmanager/ https://github.com/k8snetworkplumbingwg/ovs-cni/blob/main/docs/demo.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
################################################################################ | |
## File: script.sh | |
## Desc: Sample bash argument processing | |
## Author: Nilson Lopes <[email protected]> | |
################################################################################ | |
set -o nounset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: System Hardware and Configuration Check | |
hosts: grml | |
gather_facts: true # Enable this | |
vars: | |
cpu: | |
model: AMD EPYC 9554 64-Core Processor | |
threads: 128 | |
memory: | |
total_mb: 386442 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
# Global variables used by other iPXE scripts | |
chain --autofree vars.ipxe || | |
# First try to load a specifix boot script based on the client MAC address | |
# Boot <boot-url>/<boot-path>/mac-010203040506.ipxe if script is present | |
chain --replace --autofree ${ipxe_boot_path}mac-${mac:hexraw}.ipxe || | |
# Loads ipxe boot script based client platform and architecture |
NewerOlder