~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/project_calico/00-demo-prep.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
 
echo "installing wireshark and swift"
4
 
sudo apt-get install wireshark python-swiftclient
5
 
 
6
 
obnum=`hostname | cut -c 10- -`
7
 
printf "Well before planned event on a good network, download cloud images into the data directory \n"
8
 
 
9
 
#if grep juju /etc/maas/maas-proxy.conf ; then
10
 
#       echo "maas-proxy already configured for juju"
11
 
#else
12
 
#       echo "enable maas-proxy to proxy secure connections to port 17070 for juju"
13
 
#       echo 'acl SSL_ports port 17070    #for juju' | sudo tee --append /etc/maas/maas-proxy.conf
14
 
#       sudo service maas-proxy restart
15
 
#fi
16
 
#no longer needed
17
 
#echo "checking for calico networks in MAAS"
18
 
#maas admin network read calico || maas admin networks create name=calico ip=10.15.0.0 netmask=255.255.0.0 description="project calico network" dns_servers="172.27.${obnum}.1"
19
 
#maas admin network read calico-private || maas admin networks create name=calico-private ip=192.168.14.0 netmask=255.255.255.0 description="project calico private network" dns_servers="172.27.${obnum}.1
20
 
#"
21
 
 
22
 
#echo "restarting bind"
23
 
#sudo service bind9 restart
24
 
 
25