- Updated on May 29 to accommodate etcd container not having
/bin/sh
available anymore.
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
#!/bin/bash | |
# Autostart Libvirt VM's created with Foreman | |
# /usr/share/foreman/config/hooks/host/managed/create/10_autostart_libvirt.sh | |
# Source: http://www.uberobert.com/autostart-libvirt-vms-in-foreman/ | |
. $(dirname $0)/hook_functions.sh | |
username='admin' | |
password='changeme' |
#!/usr/bin/env ruby | |
require 'erb' | |
require 'json' | |
require 'optparse' | |
require 'ostruct' | |
class ERBContext | |
def initialize(hash) | |
raise ArgumentError, 'hash must be a Hash object' unless hash.is_a?(::Hash) |
input { | |
file { | |
path => "/root/mult.log" | |
start_position => "beginning" | |
sincedb_path => "/dev/null" | |
codec => multiline{ | |
pattern => "^ -%{SPACE}%{TIMESTAMP_ISO8601}" | |
negate => true |
global | |
chroot /var/lib/haproxy | |
crt-base /etc/pki/tls/certs | |
daemon | |
group haproxy | |
log 127.0.0.1 local0 | |
maxconn 2000 | |
pidfile /var/run/haproxy.pid | |
stats socket /var/lib/haproxy/stats | |
tune.ssl.default-dh-param 2048 |