Skip to content

Instantly share code, notes, and snippets.

View devynspencer's full-sized avatar

Devyn Spencer devynspencer

View GitHub Profile
#
# configure installation settings
install
cdrom
lang en_US.UTF-8
keyboard us
timezone UTC
unsupported_hardware
text # cmdline # display shell output instead of ncurses/x11
@devynspencer
devynspencer / openstack_networking.md
Last active January 9, 2016 12:15
Field notes from learning the clusterfuck that is OpenStack networking.

Log Files

Any of the the log files in the /var/log/neutron directory are relevant, with dhcp-agent.log, l3-agent.log, and openvswitch-agent.log being especially relevant when deploying a fresh neutron node.

@devynspencer
devynspencer / aio_generated.packstack-answers.txt
Last active January 9, 2016 08:46
RDO / Packstack configurations for Vagrant.
[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).
@devynspencer
devynspencer / makefile_vagrant
Last active January 14, 2016 00:46
Makefile to streamline common Vagrant workflows.
#
all: up provision
up:
@vagrant up --no-provision
provision:
@vagrant provision controller
@devynspencer
devynspencer / troubleshooting.sh
Created January 9, 2016 06:49
Snippets useful to troubleshooting and/or staying out of prison due to troubleshooting-related shenanigans.
# compare two files diff ala `git diff`
diff -Nau /root/answers.txt{.orig,}
@devynspencer
devynspencer / minimal.ks.cfg
Last active October 24, 2022 03:05
Minimal Kickstart template for Centos 7.x
#
# configure installation settings
install
cdrom
lang en_US.UTF-8
keyboard us
timezone UTC
unsupported_hardware
text
# installation settings
install
cdrom
lang en_US.UTF-8
keyboard us
timezone UTC
text
skipx
firstboot --disabled
selinux --permissive
@devynspencer
devynspencer / openstack.ks.cfg
Last active January 8, 2016 01:45
OpenStack Kickstart config
# installation settings
install
cdrom
lang en_US.UTF-8
keyboard us
timezone UTC
text
skipx
firstboot --disabled
selinux --permissive
@devynspencer
devynspencer / packstack_multi.sh
Created January 8, 2016 00:47
Deploy OpenStack using the RDO Packstack tool. Environment includes 1 controller node and 1 compute node.
#!/bin/bash
CONTROLLER_IP='10.107.1.210'
COMPUTE_HOSTS='10.107.1.101,10.107.1.96'
# handle yum's bullshit
yum update -y
# install packstack
yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
# not sure how to structure this for now, but may as well start listing core packages
brew_packages=(
ansible
aria2
chrome-cli
gdbm # ?
gettext # ?
gist
glib # ?
gmp # ?