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
gem instal veewee | |
#if needed replace amd64 with i386 | |
vagrant basebox define 'lucid-box' 'ubuntu-10.04.1-server-amd64' | |
#for tweeking look at definitions/lucid-box/ | |
vagrant basebox build 'lucid-box' | |
vagrant basebox export 'lucid-box' |
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
#http://www.freebsd.org/doc/en_US.ISO8859-1/articles/remote-install/installation.html | |
dd if=/dev/zero of=/dev/ad4 count=2 | |
#bsdlabel -wB /dev/ad4 | |
sysctl kern.geom.debugflags=16 | |
cat <<EOF >/install.cfg | |
# This is the installation configuration file for our rackmounted FreeBSD | |
# cluster machines |
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
## VagrantFile | |
config.vm.provision :puppet do |puppet| | |
puppet.pp_path = "/tmp/vagrant-puppet" | |
puppet.manifests_path = "manifests" | |
puppet.module_path = "modules" | |
puppet.manifest_file = "newbox.pp" | |
end | |
## modules/newbox.pp (what the box needs) | |
include pxe-server |
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
#http://www.freebsd.org/doc/en_US.ISO8859-1/articles/remote-install/installation.html | |
dd if=/dev/zero of=/dev/ad4 count=2 | |
#bsdlabel -w -B /dev/ad4 | |
sysctl kern.geom.debugflags=16 | |
#http://forum.nginx.org/read.php?23,146311,146451 | |
# Init the disk with an MBR | |
gpart create -s mbr ad4 | |
# Create a BSD container |
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
# Adapted because otherwise it will do an update everytime | |
#http://blog.kumina.nl/2010/11/puppet-tipstricks-running-apt-get-update-only-when-needed/ | |
# | |
# Cookbook Name:: apt | |
# Recipe:: default | |
# | |
# Copyright 2008-2009, Opscode, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); |
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
falcon-pdb:~ patrick$ cd v/ | |
=============================================================== | |
= NOTICE: = | |
=============================================================== | |
= RVM has encountered a not yet trusted .rvmrc file in the = | |
= current working directory which may contain nasty code. = | |
= = | |
= Examine the contents of this file to be sure the contents = | |
= are good before trusting it! = |
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
require 'formula' | |
class Tar <Formula | |
url 'http://ftp.gnu.org/gnu/tar/tar-1.26.tar.gz' | |
homepage 'http://www.gnu.org/software/tar/' | |
md5 '00d1e769c6af702c542cca54b728920d' | |
# depends_on 'cmake' | |
def install |
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
class RakeLogger < Vagrant::UI | |
def initialize(env,logger) | |
super(env) | |
@logger = logger | |
end | |
[[:warn, :yellow], [:error, :red], [:info, nil], [:confirm, :green]].each do |method, color| | |
class_eval <<-CODE | |
def #{method}(message, opts=nil) | |
@logger.warn("\#{line_reset}\#{format_message(message, opts)}") |
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
Amazon | |
#ID = "ami-cef405a7" = x64 Ubuntu 10.10 | |
:image_id => 'ami-cef405a7', :flavor_id => 't1.micro', | |
# [blueprint] searching for PEAR/PECL packages | |
# [blueprint] searching for Python packages | |
# [blueprint] searching for Ruby gems | |
# [blueprint] searching for configuration files | |
# [blueprint] searching for software built from source | |
# [blueprint] searching for apt packages |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Unattended installation file for Windows 7 x64. Place in the root directory of a USB drive. | |
Important! Before using, change the Product Key and Administrator's password. | |
Make sure the partition number and physical disk number are correct for your system. | |
--> | |
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
<settings pass="windowsPE"> | |
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<DiskConfiguration> |
OlderNewer