Skip to content

Instantly share code, notes, and snippets.

View FalcoSuessgott's full-sized avatar
🎯
Focusing

FalcoSuessgott

🎯
Focusing
View GitHub Profile
@FalcoSuessgott
FalcoSuessgott / README.md
Last active November 5, 2023 15:28
HashiCorp Vault simple autounseal using systemd perhaps not production ready

Description

Use ExecStartPost in order to unseal your Vault every time the vault daemon is started

1. intialize vault

vault operator init -t 1 -n 1

2. add unseal key to /etc/vault.d/vault.env

@FalcoSuessgott
FalcoSuessgott / .gitconfig
Last active January 11, 2022 14:47
List all branches and there last commits (Git alias)
...
[alias]
# https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
br = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
@FalcoSuessgott
FalcoSuessgott / spacewalk_to_rundeck_json.py
Last active December 18, 2019 15:51
Spacewalk Systems to Rundeck JSON Nodes resources
#!/usr/bin/env python
#
# Fetches systems from spacewalk when systems osad status equals "Online"
#
# Tags: Systems subscribed Groups
# BaseChannel: Systems basechannel
# OS: Systems activation key (if *centos* -> Centos, else RHEL + Systems Release Version)
# Virt_type: Systems virtualization Type
#
# Autor: tom-morelly@gmx.de