~/.tmux.conf
:
# Bindings
unbind C-b
unbind '"'
unbind %
set -g prefix C-a
bind C-a send-prefix
bind-key R source ~/.tmux.conf \; display-message "tmux.conf reloaded."
bind e setw synchronize-panes on
~/.tmux.conf
:
# Bindings
unbind C-b
unbind '"'
unbind %
set -g prefix C-a
bind C-a send-prefix
bind-key R source ~/.tmux.conf \; display-message "tmux.conf reloaded."
bind e setw synchronize-panes on
egrep -c '(vmx|svm)' /proc/cpuinfo
sudo kvm-ok
sudo apt update
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager cloud-image-utils
libvirt
and kvm
groups:
Make sure you have these settings enabled in felix
, in this case using enviornment variables:
FELIX_PROMETHEUSMETRICSENABLED = True
FELIX_PROMETHEUSMETRICSPORT = "9091"
FELIX_PROMETHEUSGOMETRICSENABLED = True
FELIX_PROMETHEUSPROCESSMETRICSENABLED = True
Not all plugins are compatible with the Configurations as Code plugin, the Logstash plugin can be enabled via CasC but the indexer type cannot be configured. This groovy-hook can be used as a workaround, in this example i've configured the indexer type as Elasticsearch.
Compatibility with CasC can be tracked here.
This script can be added to the init.groovy.d/
directory within Jenkins, scripts added to this directory will be executed in the very end of the Jenkins initialization.
Remember that the URI is hardcoded in the example below, if you have some experience running Jenkins as Code you might already have a property file that you read through for each groovy-script to configure different parts of Jenkins aswell as plugins.