- Enable the "Extras" Red Hat channel so you can install Docker ...
#subscription-manager repos --enable rhel-7-server-extras-rpms
- ... and install it
# yum install -y docker
#subscription-manager repos --enable rhel-7-server-extras-rpms
# yum install -y docker
#!/usr/bin/env sh | |
# Install fortello on to an Amazon EC2 instance. Make sure to set the variables | |
# in the head of this script. | |
set -o errexit -o nounset | |
# Default user for EC2 images is "ec2-user", so switch to "root" | |
sudo su - | |
# By default the EC2 instance's hostname matches its internal hostname. The |
# Puppet for Hackers course module by James | |
# Copyright (C) 2013-2014+ James Shubin | |
# Written by James Shubin <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
[root@ginger ~]# virsh list --all
Id Name State
----------------------------------------------------
803 qe-sat6iso-rhel65 running
804 qe-sat6iso-rhel7 running
919 rhel7abrt running
1132 atomic-host4 running
1237 28315344 running
1295 33298768 running
import mock | |
class Car(object): | |
def shift_down(self): | |
print "Down" | |
def shift_up(self): | |
print "Up" |
[user] | |
name = Og B. Maciel | |
email = <email goes here> | |
[color] | |
ui = true | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto |
# Block non-proxy traffic from your katello server | |
# The following environment variables must be set: | |
# SQUID: the FQDN for your proxy | |
# PROXY_USERNAME: username for squid | |
# PROXY_PASSWORD: password for your squid username | |
export ETH=$(ping -c 1 $(hostname) | grep 'icmp_seq' | awk -F '(' '{print $2}' | awk -F ')' '{print $1}') | |
export PROXY=$(ping -c 1 $SQUID | grep 'icmp_seq' | awk -F '(' '{print $2}' | awk -F ')' '{print $1}') |
def render(engine_id, template, **kwargs): | |
engines = { | |
"jinja2": "jinja2", | |
"mako": "make.template", | |
} | |
try: | |
module = engines[engine_id] | |
engine = __import__( | |
module, globals(), locals(), ['Template'], -1) | |
except (KeyError, ImportError) as err: |
Sauce Connect is a secure tunneling app which allows you to execute tests securely when testing behind firewalls via a secure connection between Sauce Labs’ client cloud and your environment.
Download the version of Sauce Connect that corresponds to your guest's platform. For some reason Sauce Connect v4 never worked for me, so I use Sauce Connect v3 instead.
After unpacking Sauce Connect, cd to its directory and start it up using your SauceLabs credentials: