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
# Example creating a "noprompt" ISO from c:\iso with ocsdimg | |
oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,b"c:\iso\boot\etfsboot.com"#pEF,e,b"c:\iso\efi\microsoft\boot\efisys.bin" "c:\iso" "%USERPROFILE%\Desktop\windows_noprompt.iso" | |
# -m Ignore the maximum size limit of the image | |
# -o Optimize by removing duplicate files | |
# -u2 UDF file system ISO image | |
# -udfver102 UDF version will be 1.02 | |
# -bootdata:2 Specifies there will be two boot catalog entires, delimited by # | |
# p0,e,b<Path> | |
# p - Specifies value to use for platform ID in the El Torito catalog. 0x00 represents a BIOS system |
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
Rename-Item -Path c:\iso\efi\microsoft\boot\cdboot.efi -NewName cdboot-prompt.efi | |
Rename-Item -Path c:\iso\efi\microsoft\boot\cdboot_noprompt.efi -NewName cdboot.efi | |
Rename-Item -Path c:\iso\efi\microsoft\boot\efisys.bin -NewName efisys_prompt.bin | |
Rename-Item -Path c:\iso\efi\microsoft\boot\efisys_noprompt.bin -NewName efisys.bin |
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
# Remove any previously-existing c:\iso directory | |
Remove-Item -Recurse -Force c:\iso | |
# Create c:\iso directory | |
New-Item -ItemType Directory -Force -Path c:\iso | |
# Copy exact contents of Windows ISO mounted on drive E:\ recurisvely | |
robocopy e:\ c:\iso /MIR |
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
# Mirror cygwin | |
#!/bin/bash -eux | |
rsync --archive --verbose --delete cygwin.com::cygwin-ftp/ /Volumes/Archive/mirror/cygwin |
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
- [X] Preface | |
- [X] From Zero to Basic Chef | |
- [X] Installing Chef Client | |
- [X] Installing Chef Client on Linux | |
- [X] Installing Chef Client on Mac OS X | |
- [X] Installing Chef Client on Windows | |
- [X] Installing a programmer's editor | |
- [X] Creating a directory structure for your code | |
- [X] Writing your first Chef recipe | |
- [X] Chef Client Modes |
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 'berkshelf/vagrant' | |
Vagrant::Config.run do |config| | |
config.vm.box = "ubuntu-1204-i386" | |
config.vm.box_url = "http://vagrant.sensuapp.org/ubuntu-1204-i386.box" | |
config.vm.customize [ | |
"modifyvm", :id, | |
"--name", "Sensu Stack", | |
"--memory", "1024" |
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
$ vagrant up | |
[default] Importing base box 'ubuntu-1204-i386'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.1.12 | |
VirtualBox Version: 4.1.23 |
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
# You will need to make this file executable (chmod u+x) and run it with sudo | |
apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk | |
wget http://www.erlang.org/download/otp_src_R15B03-1.tar.gz | |
tar xzvf otp_src_R15B03-1.tar.gz | |
cd otp_src_R15B03 | |
./configure | |
make | |
make install |