This file contains hidden or 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
{ | |
"builders": [ | |
{ | |
"type": "vmware", | |
"boot_command": [ | |
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>" | |
], | |
"boot_wait": "5s", | |
"disk_size": 10480, | |
"guest_os_type": "rhel6-64", |
This file contains hidden or 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
packer build template.json |
This file contains hidden or 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
[root@localhost /mnt]# df -n | |
/ : zfs | |
/devices : devfs | |
/system/contract : ctfs | |
/proc : proc | |
/etc/mnttab : mntfs | |
/etc/svc/volatile : tmpfs | |
/system/object : objfs | |
/etc/dfs/sharetab : sharefs | |
/platform/sun4u-us3/lib/libc_psr.so.1: lofs |
This file contains hidden or 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
:scriptnames |
This file contains hidden or 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
1: ~/.vimrc | |
2: ~/.dotfiles/.vim/autoload/pathogen.vim | |
3: /usr/local/Cellar/vim/7.3.827/share/vim/vim73/colors/desert.vim | |
4: /usr/local/Cellar/vim/7.3.827/share/vim/vim73/syntax/syntax.vim | |
5: /usr/local/Cellar/vim/7.3.827/share/vim/vim73/syntax/synload.vim | |
6: /usr/local/Cellar/vim/7.3.827/share/vim/vim73/syntax/syncolor.vim | |
7: /usr/local/Cellar/vim/7.3.827/share/vim/vim73/filetype.vim | |
8: ~/.dotfiles/.vim/bundle/SingleCompile/plugin/SingleCompile.vim | |
9: ~/.dotfiles/.vim/bundle/gist-vim/plugin/gist.vim | |
10: ~/.dotfiles/.vim/bundle/nerdtree/plugin/NERD_tree.vim |
This file contains hidden or 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
su - vagrant | |
mkdir .ssh | |
cd .ssh | |
wget -O authorized_keys http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub | |
chmod 600 authorized_keys |
This file contains hidden or 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
for i in `rpm -qa |grep -i firmware`; do rpm -e $i; done |
This file contains hidden or 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
sed -i.backup '/HWADDR=/d' /etc/sysconfig/network-scripts/ifcfg-eth0 | |
sed -i.backup '/NM_CONTROLLED/d' /etc/sysconfig/network-scripts/ifcfg-eth0 |
This file contains hidden or 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
sed -i.backup 's/ATTR{address}=="..:..:..:..:..:..",//' /etc/udev/rules.d/70-persistent-net.rules |
This file contains hidden or 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
sed -i.backup "/root\s*ALL=(ALL)/ a\vagrant ALL=NOPASSWD:ALL" /etc/sudoers |