Skip to content

Instantly share code, notes, and snippets.

View jistr's full-sized avatar

Jiří Stránský jistr

View GitHub Profile
@jistr
jistr / tuskar_cli_steps.md
Last active August 29, 2015 13:56
Overcloud deployment using Tuskar CLI

Overcloud deployment using Tuskar CLI

Prerequisites

  • Deployment using Tuskar toolset (regardless if UI or CLI way) requires a fully set up and running undercloud, including the Tuskar API.
@jistr
jistr / beaker_uc_live_prep.sh
Last active December 26, 2015 20:49
Prepare a Beaker machine for Undercloud Live 2 node installation.
#!/bin/bash
set -x
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# install dependencies and wget
@jistr
jistr / tuskar_commands.md
Last active December 20, 2015 23:09
Tuskar CLI commands draft

Tuskar CLI commands draft

Racks

tuskar rack-list

tuskar rack-show <name or id>
@jistr
jistr / localrc
Created June 27, 2013 14:22
DevStack localrc for use with Fedora 18 (works as of 2013-06-27)
# http://fedoraproject.org/wiki/OpenStack_devstack
# http://devstack.org/localrc.html
# Check /etc/hosts and make sure that ::1 is bound to 'localhost6',
# not to 'localhost'.
DEST=$HOME/openstack
DATA_DIR=$DEST/data
LOGFILE=$DEST/logs/stack.log
@jistr
jistr / nerd_tree_for_tabs.vim
Created March 10, 2011 20:40
Vim NERDTree always synchronized between tabs.
" Use this plugin instead: https://github.com/jistr/vim-nerdtree-tabs
@jistr
jistr / couch_fixture.rb
Created January 22, 2011 00:13
Simple YAML -> CouchDB fixture loader for Rails
# YAML -> CouchDB fixture loader for Rails
# ========================================
# by Jiri Stransky (http://twitter.com/jistr)
# for use with testing database instances only ;)
#
# What it does:
# * Loads fixtures from "test/fixtures" directory.
# * Permits use of ERB in the fixtures.
# * Uses CouchRest.
#