Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/python
import koji
from operator import itemgetter
import os.path
import sys
KOJI_URL='http://cbs.centos.org/kojihub'
FROMTAG='cloud7-openstack-mitaka-testing'
TOTAG='cloud7-openstack-mitaka-release'
#!/bin/bash
milestone=.0b3
pkg=$(basename $PWD _distro)
pushd ../$pkg
git fetch --all
git checkout .
tag=$(git describe --abbrev=0 --tags)
@hguemar
hguemar / juno.md
Last active August 29, 2015 14:21 — forked from alphacc/juno.md

RDO Juno EL6 Quickstart

Status

At this time few components of the Juno release have been recompiled for el6 and are available in repositories:

  • openstack-nova
  • openstack-ceilometer

Available packages can be browsed at the following url.

#!/bin/bash
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
# Directory where everything happens
DIR=~/work/virt-install
# The image downloaded from the http://fedoraproject.org/en/get-fedora#clouds site
guestfish -a Fedora-x86_64-20-20131211.1-sda.qcow2 -i --selinux <<_EOF_
# Load selinux policy
sh "/usr/sbin/load_policy -i"
# Create fedora user
sh "useradd -m fedora"
# Reset the fedora user password
sh "echo 'fedora:fedora' | chpasswd"
# Give the fedora users administrative rights
sh "echo 'fedora ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/fedora"
_EOF_