~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/00-bootstrap.sh

  • Committer: MMorana
  • Date: 2016-03-24 01:18:40 UTC
  • Revision ID: mass@ubuntu.com-20160324011840-blxydmf7ca4ggle0
Splitting out demos from install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#
3
 
# Scott Croft, 6 May 2015
4
 
 
5
 
time /home/ubuntu/demos/bin/orange-box-bootstrap-juju
6
 
 
7
 
# Removed as there only needs to be one bootstrap script ran
8
 
#time orange-box-bootstrap-juju
9
 
 
10
 
JUJU_GUI_IP=`juju status juju-gui | grep public-address | awk '{ print $2 }' | xargs host | awk '{ print $4 }'`
11
 
#sudo iptables-save | grep -v 1443 | sudo iptables-restore
12
 
#sudo iptables -t nat -A PREROUTING -p tcp --dport 1443 -j DNAT --to-destination ${JUJU_GUI_IP}:443