This file contains 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 | |
# vim: syntax=yaml | |
# | |
# This config installs the eucalyptus and epel repos, then installs and | |
# configures the eucaconsole package | |
runcmd: | |
- [ yum, -y, install, wget, python-pip ] | |
- [ pip, install, requests, cachecontrol, beautifulsoup4 ] | |
- [ pip, install, --upgrade, urllib3, requests ] |
This file contains 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
keytool -exportcert -alias eucalyptus -file cloud-ssl.crt -keystore /var/lib/eucalyptus/keys/euca.p12 -storepass eucalyptus -storetype pkcs12 -rfc |
This file contains 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 | |
# params passed to cloud formation template | |
CLOUD_IP=10.111.5.150 | |
SSH_KEY=dak-ssh-key | |
IMAGE_ID=emi-bc44e9e6 | |
# create a self-signed ssl cert and install it via IAM | |
C=US | |
ST=CA | |
L="Santa Barbara" |
This file contains 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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "Deploy Eucalyptus Management Console with ELB, Autoscaling.", | |
"Parameters" : { | |
"ImageId" : { | |
"Description" : "The ID of the image to use for the console", | |
"Type" : "String", | |
"ConstraintDescription" : "Must be the ID of a CentOS image on the cloud." |
This file contains 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
yum install -y http://downloads.eucalyptus.com/software/eucalyptus/nightly/4.0/centos/6/x86_64/eucalyptus-4.0.0-0.0.1051.el6.x86_64.rpm | |
yum install -y http://downloads.eucalyptus.com/software/eucalyptus/nightly/4.0/centos/6/x86_64/eucalyptus-admin-tools-4.0.0-0.0.1051.el6.noarch.rpm | |
source eucarc | |
euca-modify-property -p PARTI00.storage.maxvolumesizeingb=25 | |
euca-modify-property -p PARTI01.storage.maxvolumesizeingb=25 | |
euca-modify-property -p PARTI00.storage.maxtotalvolumesizeingb=250 | |
euca-modify-property -p PARTI01.storage.maxtotalvolumesizeingb=250 |
This file contains 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
index 9898eac..44eab0e 100644 | |
--- a/eucaconsole/static/js/thirdparty/foundation/foundation.abide.js | |
+++ b/eucaconsole/static/js/thirdparty/foundation/foundation.abide.js | |
@@ -53,7 +53,8 @@ | |
events : function (scope) { | |
var self = this, | |
form = $(scope).attr('novalidate', 'novalidate'), | |
- settings = form.data('abide-init'); | |
+ settings = form.data('abide-init'), | |
+ cancel_target = form.attr('cancel-target'); |
This file contains 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 | |
# vim: syntax=yaml | |
# | |
# This config installs the eucalyptus and epel repos, then installs and | |
# configures the eucaconsole package | |
runcmd: | |
- [ yum, -y, install, "http://downloads.eucalyptus.com/software/eucalyptus/nightly/4.0/centos/6/x86_64/eucalyptus-release-4.0-0.1.el6.noarch.rpm" ] | |
- [ yum, -y, install, eucaconsole ] | |
- [ sed, -i, "s/localhost/10.111.5.78/", /etc/eucaconsole/console.ini ] |
This file contains 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 | |
# vim: syntax=yaml | |
# | |
# This config installs the eucalyptus and epel repos, then installs and | |
# configures the eucaconsole package | |
runcmd: | |
- [ yum, -y, install, "http://downloads.eucalyptus.com/software/eucalyptus/nightly/4.0/centos/6/x86_64/eucalyptus-release-4.0-0.1.el6.noarch.rpm" ] | |
- [ yum, -y, install, eucaconsole ] | |
- [ sed, -i, "s/localhost/10.111.5.78/", /etc/eucaconsole/console.ini ] |
This file contains 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
branch=`git rev-parse --abbrev-ref HEAD` | |
echo "pulling from "$branch | |
git submodule foreach git pull origin $branch | |
git pull origin $branch |
This file contains 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
def start_redirector(kwargs, callback): | |
# can't use tornado for this (not threadsafe). Must use something else, something simpler! | |
http_port = 8888 | |
if eucaconsole.config.has_option('server', 'http.port'): | |
http_port = eucaconsole.config.getint('server', 'http.port') | |
server = BaseHTTPServer.HTTPServer(('localhost', http_port), | |
lambda *args: RedirectHandler(kwargs, *args)) | |
server.serve_forever() | |
class RedirectHandler(BaseHTTPRequestHandler): |