Skip to content

Instantly share code, notes, and snippets.

View andrewklau's full-sized avatar

Andrew Lau andrewklau

View GitHub Profile
<?php
/*
Plugin Name: S3 Endpoint Uploads
Plugin URI: https://www.newiteration.com/
Description: Add S3_UPLOADS_ENDPOINT_URL to S3-Uploads
Version: 1.0.0
Author: New Iteration
Author URI: https://www.newiteration.com/
License: MIT License
*/
skipx
text
install
url --url=http://mirror.optus.net/centos/6/os/x86_64
# Firewall configuration
firewall --enabled --service=ssh
repo --name="repo0" --baseurl=http://mirror.centos.org/centos/6/os/x86_64/
repo --name="repo1" --baseurl=http://mirror.optus.net/centos/6/updates/x86_64/
repo --name="repo2" --baseurl=http://mirror.optus.net/epel/6/x86_64/
repo --name="repo3" --baseurl=http://yum.puppetlabs.com/el/6/products/x86_64/
skipx
text
install
# Firewall configuration
firewall --enabled --service=ssh
repo --name="repo0" --baseurl=http://mirror.web24.net.au/centos/6/os/x86_64
repo --name="repo1" --baseurl=http://mirror.web24.net.au/centos/6/updates/x86_64
repo --name="repo2" --baseurl=http://mirror.web24.net.au/epel/6/x86_64/
repo --name="repo3" --baseurl=http://repos.fedorapeople.org/repos/openstack/cloud-init/epel-6
# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -i lo -j ACCEPT
# vdsm
@andrewklau
andrewklau / ovirt-engine-vdsm-iptables
Last active November 28, 2017 04:09
oVIrt Engine + VDSM iptables rules
# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -i lo -j ACCEPT
@andrewklau
andrewklau / centos-6-4-x86_64.ks
Last active January 15, 2016 13:26
Multi-node Packstack File for Openstack Havana w/ Neutron
# This is a basic CentOS 6 spin designed to work in OpenStack and other
# virtualized environments. It's configured with cloud-init so it will
# take advantage of ec2-compatible metadata services for provisioning
# ssh keys and user data.
# Basic kickstart bits
text
skipx
cmdline
install