View gist:3812063
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NCState Linux kickstart -> http://www.linux.ncsu.edu/realm_linux/usersguide-EL4/ch07.php | |
FermiLab's Anaconda Wiki -> http://fermilinux.fnal.gov/distribution/slf-5/installation/kickstart | |
Bootstrapping Puppet Agent on CentOS6 -> https://github.com/ahamilton55/Blog-Scripts/blob/master/puppet_agent_install/centos6_setup.sh | |
Custom Kickstart Process -> http://smorgasbork.com/component/content/article/35-linux/128-building-a-custom-centos-6-kickstart-disc-part-1 | |
VMWare Template MAC Addresses -> https://peterpap.net/index.php/Creating_a_CentOS%5CRed_Hat_VMware_template | |
creating a minimal centos vm -> http://lsimons.wordpress.com/2011/06/03/creating-a-minimal-centos-vm/ | |
Unit Testing in Puppet -> http://www.jedi.be/blog/2011/12/05/puppet-unit-testing-like-a-pro/ |
View clear-network-config.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clear VM's network config | |
rm /etc/udev/rules.d/70-persistent-net.rules | |
rm /etc/sysconfig/network-scripts/ifcfg-eth0 | |
rm /etc/resolv.conf | |
rm /etc/sysconfig/network |
View ks.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Kickstart file for minimal CentOS VM | |
# http://fedoraproject.org/wiki/Anaconda/Kickstart | |
# | |
# to use, pass ks=http://server/ks.cfg to kernel | |
# | |
#version=RHEL6 | |
install | |
text |
View puppet-kickstart.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Quick and easy script to install Puppet, Facter and dependencies. | |
# Kickstarts a node ready for puppeting. | |
# Tested with: | |
# | |
# - Scientific Linux 6.1, 6.2, 6.3 | |
# - CentOS 6.3 |
View gist:3812047
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install | |
url --url http://ftp.iij.ad.jp/pub/linux/centos/6.3/os/x86_64/ | |
# if you use proxy | |
# url --url http://ftp.iij.ad.jp/pub/linux/centos/6.3/os/x86_64/ --proxy http://proxy-ip:8080/ | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw password | |
firewall --disabled | |
authconfig --enableshadow --passalgo=sha512 |
View kscentos6_64bits.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kickstart file automatically generated by anaconda. | |
install | |
url --url http://192.168.200.10/centos/ | |
lang en_US.UTF-8 | |
keyboard us | |
skipx | |
network --device eth0 --bootproto dhcp | |
rootpw --iscrypted $1$mPtrz4gJ$bNrGUu91/qhiuU4LZQlYv1 |
View centos63.ks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text | |
skipx | |
install | |
url --url http://ftp.astral.ro/distros/centos/6.3/os/x86_64/ | |
repo --name=epel --baseurl=http://download.fedoraproject.org/pub/epel/6/x86_64/ | |
repo --name=updates --baseurl=http://ftp.astral.ro/distros/centos/6.3/updates/x86_64/ | |
lang en_US.UTF-8 | |
keyboard us | |
firewall --disabled | |
authconfig --enableshadow --passalgo=sha512 |
NewerOlder