Skip to content

Instantly share code, notes, and snippets.

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
bootloader --location=mbr
zerombr
clearpart --all --initlabel
text
autostep
firewall --disabled
firstboot --disable
gist 1.0.1 available Emacs integration for gist.github.com
@ksexton
ksexton / README.md
Created August 14, 2012 14:43 — forked from filler/README.md
RHEL 6.3 veewee templates for vagrant use

RHEL 6.3 veewee templates for vagrant use

These templates can be used to feed to veewee to spin up an el6 basebox for use with vagrant.

There are some coded values in definition.rb and ks.cfg which point at Yale-ishness. Amend to point at local RHEL iso/yum repo.

Built successfully with veewee 0.2.3, vagrant 1.0.3, Virtualbox 4.1.18.

Config Management

http://oreilly.com/openbook/samba/book/ch04_07.html
@ksexton
ksexton / gist:4121179
Created November 20, 2012 21:13
vim key map
n \q @<Plug>MailQuote
v \q @<Plug>MailQuote
n <Plug>MailQuote *@:.,$s/^/> /<CR>:noh<CR>``
v <Plug>MailQuote *@:s/^/> /<CR>:noh<CR>``
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
;; Gist support
(live-add-pack-lib "gist")
(require 'gist)
node 'razor.merkur.lan' {
include concat::setup
class { 'dhcp':
dnsdomain => [
'merkur.lan',
],
nameservers => ['4.2.2.2'],
ntpservers => ['us.pool.ntp.org'],
interfaces => ['eth0'],
pxefilename => 'pxelinux.0', # DHCP filename
[root@razor ~]# razor -w broker add '{"description":"merkur_puppet","servers":"puppet.merkur.lan","plugin":"puppet","name":"merkur_puppet","version":"
3.0.2"}'
{"slice":"ProjectRazor::Slice::Broker","std_err_code":114,"result":"Must Provide Required Metadata [req_metadata_hash]","http_err_code":400,"err_class
":"ProjectRazor::Error::Slice::MissingArgument","command":"add_broker"}
[root@razor ~]#
[root@razor project_razor]# razor -w broker add '{"name":"test","description":"test","plugin":"puppet","@req_metadata_hash":{"@server":"puppet.test.co
m","@plugin":"puppet"}}'
{"command":"add_broker","resource":"ProjectRazor::Slice::Broker","errcode":0,"http_err_code":201,"response":[{"@name":"test","@is_template":false,"@us
er_description":"test","@plugin":"puppet","@req_metadata_hash":{"@server":{"validation":"(^$|^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)
*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$)","example":"puppet.example.com","required":false,"default":"","description":"Hostname of Puppet
Master; optional"},"@broker_version":{"validation":"(^$|^[0-9]+(\\.([0-9a-zA-Z\\-\\_]+))*$)","example":"3.0.1","required":false,"default":"","descrip
tion":"Puppet Version; for gem install, blank for latest"}},"@classname":"ProjectRazor::BrokerPlugin::Puppet","@noun":"