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 apt-get install libyajl-dev libnl-dev libdevmapper-dev libpciaccess-dev uuid-dev | |
wget http://libvirt.org/sources/libvirt-1.2.5.tar.gz | |
tar -zxvf libvirt-1.2.5.tar.gz | |
cd libvirt-1.2.5/ | |
make clean; ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr ; make | |
sudo make install | |
sudo start libvirt-bin |
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
TOKEN=`curl -s -X POST http://172.16.0.1:35357/v2.0/tokens -d '{"auth": {"passwordCredentials": {"username":"admin", "password":"devstack"}, "tenantName":"admin"}}' -H "Content-type: application/json" | python -c 'import json,sys; response=json.loads(sys.stdin.read()); print response["access"]["token"]["id"]'`; | |
curl -s http://172.16.0.1:35357/v2.0/users -H "X-Auth-Token: "$TOKEN"" |
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
[[local|localrc]] | |
ADMIN_PASSWORD=Cisco123 | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=1112f596-76f3-11e3-b3b2-e716f9080d50 | |
MYSQL_PASSWORD=nova | |
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit | |
enable_service mysql | |
disable_service n-net |
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
echo > /etc/environment | |
LC_ALL=en_US.UTF-8 | |
LANG=en_US.UTF-8 |
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
neutron port-update e87cb87b-e2e1-4dc3-acf2-279a0e81f1d7 --request-format=json --fixed_ips type=dict list=true subnet_id=d3de8017-b350-4194-9ec2-73395bfa2b3a,subnet_id=65c96365-dde1-4415-b80d-044df46fbfcf |
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
// based on | |
// russian standard keyboard | |
// AEN <[email protected]> | |
// 2001/12/23 by Leon Kanter <[email protected]> | |
// 2005/12/09 Valery Inozemtsev <[email protected]> | |
// Windows layout | |
partial default alphanumeric_keys | |
xkb_symbols "winkeys" { | |
include "ru(common)" |
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
# send Ctrl+C to all screen windows | |
screen -S 9125.stack -X at "#" stuff $'\003' | |
# just exit screen (sigterm?) | |
screen -S stack -X quit | |
# run detached from file: | |
screen -c stack-screenrc -d -m |
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
#cloud-config | |
password: ubuntu | |
chpasswd: { expire: False } | |
ssh_pwauth: True |
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
/* OVERRIDE FF TAB DIMMING ON UNSELECTED TABS */ | |
/* more specific but doesn't seem necessary */ | |
#tabbrowser-tabs[fade_on_pending] > .tabbrowser-tab[pending] > .tab-stack > .tab-content > .tab-label { | |
opacity: .6 !important; | |
/*text-decoration: underline !important; | |
font-weight: bold !important; */ | |
} |
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
source /home/stack/stackrc | |
for failed_deployment in $(heat resource-list --nested-depth 5 overcloud | grep FAILED | grep 'StructuredDeployment ' | cut -d '|' -f3) | |
do | |
heat deployment-show $failed_deployment | |
done |