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 | |
if [ -z "$1" ]; then | |
echo "USAGE: $0 devicename" | |
echo "eg. $0 fioa" | |
exit 1 | |
else | |
DEVICE=$1 | |
fi |
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
curtis@c01-02:~/performance_testing$ cat fio_tests.sh | |
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "USAGE: $0 devicename" | |
echo "eg. $0 fioa" | |
exit 1 | |
else | |
DEVICE=$1 | |
fi |
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 | |
if [ -z "$1" ]; then | |
echo "USAGE: $0 devicename" | |
echo "eg. $0 fioa" | |
exit 1 | |
else | |
DEVICE=$1 | |
fi |
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@VIRT-V2V:/opt/veewee] $ irb | |
1.9.2p320 :001 > require 'ruby-libvirt' | |
LoadError: no such file to load -- ruby-libvirt | |
from (irb):1:in `require' | |
from (irb):1 | |
from /usr/local/rvm/rubies/ruby-1.9.2-p320/bin/irb:16:in `<main>' | |
1.9.2p320 :002 > require 'libvirt' | |
LoadError: no such file to load -- libvirt | |
from (irb):2:in `require' | |
from (irb):2 |
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@VIRT-V2V:/opt/veewee] $ gem which ruby-libvirt || gem which libvirt | |
ERROR: Can't find ruby library file or shared library ruby-libvirt | |
/usr/local/rvm/gems/ruby-1.9.2-p320@veewee/gems/ruby-libvirt-0.4.0/lib/libvirt.rb | |
[root@VIRT-V2V:/opt/veewee] $ irb | |
1.9.2p320 :001 > require 'libvirt' | |
LoadError: no such file to load -- libvirt | |
from (irb):1:in `require' | |
from (irb):1 | |
from /usr/local/rvm/rubies/ruby-1.9.2-p320/bin/irb:16:in `<main>' |
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
$ vagrant box add centos64 file://$PWD/centos64.box | |
Downloading with Vagrant::Downloaders::File... | |
Cleaning up downloaded box... | |
The specified path to a file doesn't exist. | |
$ echo $PWD | |
/Users/curtis/Documents/Virtual Machines.localized/CentOS 64-bit.vmwarevm | |
$ ls centos64.box | |
centos64.box | |
$ tar ztf centos64.box | |
./CentOS 64-bit.nvram |
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
vagrant@precise64:/opt/stack/nova$ tox | |
GLOB sdist-make: /opt/stack/nova/setup.py | |
py26 create: /opt/stack/nova/.tox/py26 | |
ERROR: InterpreterNotFound: python2.6 | |
py27 create: /opt/stack/nova/.tox/py27 | |
py27 installdeps: -r/opt/stack/nova/tools/pip-requires, -r/opt/stack/nova/tools/test-requires | |
py27 inst: /opt/stack/nova/.tox/dist/nova-2013.2.a26.g4979817.zip | |
py27 runtests: commands[0] | |
py27 runtests: commands[1] | |
running testr |
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
$ cat install-chocolatey.bat | |
REM goto a temp directory | |
cd %SystemDrive%\windows\temp | |
cmd /c bitsadmin /transfer InstallChocolateyPS1 /download /priority normal https://raw.github.com/ferventcoder/chocolatey/master/chocolateyInstall/InstallChocolatey.ps1 %SystemDrive%\windows\temp\InstallChocolatey.ps1 | |
cmd /c %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -InputFormat none -NoProfile -ExecutionPolicy unrestricted -Command "& '%SystemDrive%\windows\temp\InstallChocolatey.ps1' %*" |
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
$ cat Vagrantfile | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
#config.vm.provision :shell, :inline => "echo Hello" | |
config.vm.define :web do |web| | |
web.vm.box = "centos65fusion" |
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
# follwing this: http://blog.aaronorosen.com/building-a-multi-tier-application-with-openstack/ | |
vagrant@precise64:/etc/quantum$ quantum net-list | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| 1583e72d-2ab1-4746-9d72-fea6cca16d41 | private | 93765661-e07e-4a6d-bb67-fe9a46d77849 10.0.0.0/24 | | |
| cfba85ab-0cb0-496e-82b5-bdb008e584e4 | public | 1c95411d-a5ba-44e0-9a46-98e342a3f331 | | |
+--------------------------------------+---------+--------------------------------------------------+ |
OlderNewer