This produces warning events F0207, F0479, F0283. These errors clear once each port has been fully initialized by an appropriate driver - ESXi or Debian Squeeze installer images are an easy way to take care of this. Shame the docs make no mention of this and point only to failed uplinks and un-acknowledged hardware.
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
apt-get update && apt-get -y install bison \ | |
&& wget http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz \ | |
&& tar xzvf bash-4.2.tar.gz \ | |
&& wget -r -l 1 http://ftp.gnu.org/gnu/bash/bash-4.2-patches/ \ | |
&& rm ftp.gnu.org/gnu/bash/bash-4.2-patches/*.sig \ | |
&& rm ftp.gnu.org/gnu/bash/bash-4.2-patches/index* \ | |
&& cd bash-4.2 \ | |
&& for i in ../ftp.gnu.org/gnu/bash/bash-4.2-patches/*; do patch -p0 < $i; done \ | |
&& CC=/usr/local/bin/afl-gcc ./configure | |
&& make \ |
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
sudo docker rmi $(sudo docker images | grep '^<none>' | awk '{print $3}') |
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
mkdir -p /media/cdrom \ | |
&& mount /dev/sr0 /media/cdrom \ | |
&& tar -C /tmp -xzvf /media/cdrom/*.gz \ | |
&& /tmp/vmware-tools-distrib/vmware-install.pl -d \ | |
&& rm -rf /tmp/vmware-tools-distrib |
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
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
Setup:
git clone [email protected]:nabeken/vagrant-aws.git
cd vagrant-aws
git checkout spot-3
gem build vagrant-aws.gemspec
vagrant install plugin vagrant-aws-0.5.0.gem
Vagrantfile:
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
BEGIN { | |
device_id = "" | |
entry_address = "" | |
ip_address = "" | |
platform = "" | |
capabilities = "" | |
interface = "" | |
port_id = "" | |
holdtime = "" | |
version = "" |
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
#Parses the output of CDP neighbor information from a VMWare ESXi host. | |
# | |
#------------------------- | |
#hostname vmnic1 | |
#CdpVersion : 2 | |
#Timeout : 0 | |
#Ttl : 152 | |
#Samples : 9854 | |
#DevId : aaa-bbbb-cccc-dd | |
#Address : 10.10.1.1 |
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
BEGIN { | |
cn = "" | |
} | |
function trim(field) { | |
gsub(/\r/, "", field) | |
gsub(/^[ \t]+/, "", field) | |
return field; | |
} |
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
BEGIN { | |
FS = "=" | |
ipan = "" | |
at = "" | |
lt = "" | |
hn = "" | |
lu = "" | |
le = "" | |
mac = "" | |
ci = "" |
OlderNewer