Skip to content

Instantly share code, notes, and snippets.

Avatar

Frank Rosquin cnf

View GitHub Profile
@cnf
cnf / injector_configuration.yml
Created Oct 29, 2017
Ansible Tower Credential Type for vmware.py
View injector_configuration.yml
env:
VMWARE_HOST: '{{hostname}}'
VMWARE_PASSWORD: '{{password}}'
VMWARE_SERVER: '{{hostname}}'
VMWARE_SSLCHECK: '{{ "True" if checkssl else "False" }}'
VMWARE_USER: '{{username}}'
VMWARE_USERNAME: '{{username}}'
VMWARE_VALIDATE_CERTS: '{{ "True" if checkssl else "False" }}'
@cnf
cnf / functions.sh
Created Oct 8, 2016
OpenStack Keystone setup scripts
View functions.sh
#!/bin/sh
testexit() {
if [ ! $? -eq 0 ]; then
echo "something went wrong, exiting"
exit 1
fi
}
echoerr() {
View mac2fe80.sh
#!/bin/sh
# Frank Rosquin <frank.rosquin@gmail.com>
MAC=$1
echo "Calculating ipv6 for $MAC"
LEAD=`echo $MAC|awk -F':' '{ print $1}'`
FIXED=`echo $MAC|awk -F':' '{ print tolower($2":"$3":"$4":"$5":"$6)}'`
# TODO: TOGGLE this
@cnf
cnf / Dockerfile
Created May 26, 2015
VyOS Docker Build
View Dockerfile
FROM debian:squeeze
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y wget \
&& wget -O - http://packages.vyos.net/vyos-pubkey.gpg | apt-key add - \
&& echo "deb http://backports.debian.org/debian-backports squeeze-backports main" > /etc/apt/sources.list.d/bp.list \
&& apt-get update \
&& apt-get -t squeeze-backports install -y squashfs-tools \
View keybase.md

Keybase proof

I hereby claim:

  • I am cnf on github.
  • I am cnf (https://keybase.io/cnf) on keybase.
  • I have a public key whose fingerprint is 2BF3 DEDC C538 A25F 11B8 93B1 B212 68FB BD8D 25C3

To claim this, I am signing this object:

@cnf
cnf / lnm.md
Last active Aug 29, 2015
Logging & Metrics
View lnm.md

Logging

  • cAdvisor - Container Advisor, stats for docker host / containers, Influxdb output
  • docker syslog - Multiple Docker containers logging to a single syslog

Dispatchers

@cnf
cnf / Notes.md
Last active Mar 10, 2018
Warframe Notes & Instructions
View Notes.md