Skip to content

Instantly share code, notes, and snippets.

{
"ignition": {
"version": "2.1.0",
"config": {}
},
"storage": {
"disks": [{
"device": "/dev/sda",
"wipeTable": true,
"partitions": [{
@nopp
nopp / gist:3e8e7fc64af509c182fbe1837868b740
Created August 23, 2018 11:42
configuring winrm with ansible
1) Create domain user with DNSAdministrator group
2) Execute this on ADDNS server Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true, to make sure that basic authentication is available
3) On Ansible do you need to configure:
ansible_port: 5985
ansible_winrm_scheme: http
ansible_user: ansible@domain
ansible_password: "xxxx"
ansible_connection: winrm
ansible_winrm_transport: basic
@nopp
nopp / k8s-pi.md
Created July 23, 2018 15:58 — forked from alexellis/k8s-pi.md
K8s on Raspbian

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

Pre-reqs:

  • You must use an RPi 2 or 3 for use with Kubernetes
  • I'm assuming you're using wired ethernet (Wi-Fi also works, but it's not recommended)

Master node setup

@nopp
nopp / arch-linux-install
Created July 31, 2016 03:07 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap