Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| sudo rm -f /var/lib/cloud/sem/*{defaults,runcmd,userdata,user-scripts}* /var/lib/cloud/data/cache/obj.pkl |
| #!/bin/bash | |
| set -ex | |
| apt-get -yq update | |
| apt-get -yq upgrade | |
| cd /root | |
| # Install DevStack | |
| apt-get -yq install git |
| class Kombu(object): | |
| def __init__(self): | |
| self.params = { | |
| 'hostname': 'localhost', | |
| 'port': 5672, | |
| 'virtual_host': '/', |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| sudo ip addr flush dev br-ex | |
| sudo sysctl -w net.ipv4.ip_forward=1 | |
| sudo ip addr add 172.24.4.225/28 dev br-ex | |
| sudo ip link set br-ex up | |
| sudo route add -net 10.0.0.0/24 gw 172.24.4.226 | |
| sudo service rabbitmq-server start | |
| sudo service postgresql start | |
| sudo service apache2 start | |
| export SERVICE_TOKEN=password | |
| export OS_TENANT_NAME=demo |