kubernetes all in one
grab an atomic host
$ vagrant init fedora/25-atomic-host
$ vagrant up
$ vagrant ssh
[general] | |
# Path to a public key to install on servers. If a usable key has not | |
# been installed on the remote servers, the user is prompted for a | |
# password and this key is installed so the password will not be | |
# required again. | |
CONFIG_SSH_KEY=/home/centos/.ssh/id_rsa.pub | |
# Default password to be used everywhere (overridden by passwords set | |
# for individual services or users). |
[general] | |
# Path to a public key to install on servers. If a usable key has not | |
# been installed on the remote servers, the user is prompted for a | |
# password and this key is installed so the password will not be | |
# required again. | |
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub | |
# Default password to be used everywhere (overridden by passwords set | |
# for individual services or users). |
get-packageprovider -name chocolatey | |
New-Item $profile -ItemType File -Force | |
"Set-Location c:\`r`nrm alias:curl`r`nClear-Host`r`n" | Set-Content $env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1 | |
install-package dropbox | |
install-package vlc | |
install-package adobereader | |
install-package paint.net | |
install-package nimbletext | |
install-package googlechrome | |
install-package putty.install |
#!/bin/bash | |
INCONFIG=config.json | |
OUTCONFIG=config.json.$$ | |
if [ ! -f $INCONFIG ]; then | |
echo "Cannot find $INCONFIG file" | |
exit 1 | |
fi | |
SSHKeyPath="$(jq -r .Driver.SSHKeyPath $INCONFIG)" |
$ vagrant init fedora/25-atomic-host
$ vagrant up
$ vagrant ssh
#!/usr/bin/env bash | |
# This should work whether you are already in a TMUX session or not... | |
# Irssi directory is assumed to be in the user's home dir | |
if [ -z "$TMUX" ] | |
then | |
tmux new-session -d -s ircuser | |
tmux split-window -tircuser -h -l20 | |
tmux send-keys -tircuser "tmux send-keys -t0 \"irssi\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \ | |
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \ |
#!/bin/bash | |
########################################################## | |
# Updated 3 July 2015 to use dnf and tweaks for Fedora 22 | |
########################################################## | |
# Change below to whichever host is running apt cacher | |
# setup apt-cacher - do this after lxc docker as ssl sources are not configured for cacher by me | |
dnf install -y apt-cacher-ng | |
systemctl start apt-cacher-ng.service |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Enable-RemoteDesktop | |
Get-PackageProvider Chocolatey | |
##### | |
Install-Package -Name slickrun -Force | |
# Install-Package -Name fiddler4 -Force |
#!/bin/bash | |
echo "$@" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|' |
#!/bin/bash | |
# Install Monaco font in Linux | |
# Version from nullvideo https://gist.github.com/rogerleite/99819#gistcomment-2799386 | |
sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco && \ | |
sudo wget https://gist.github.com/rogerleite/b50866eb7f7b5950da01ae8927c5bd61/raw/862b6c9437f534d5899e4e68d60f9bf22f356312/mfont.ttf -O - > \ | |
/usr/share/fonts/truetype/ttf-monaco/Monaco_Linux.ttf && \ | |
sudo fc-cache |