~hp-moonshot/ubuntu/trusty/hp-moonshot/hp-proliant

« back to all changes in this revision

Viewing changes to usr/bin/hp-moonshot-maas-install

  • Committer: Narinder Gupta
  • Date: 2014-09-04 20:37:03 UTC
  • Revision ID: narinder.gupta@canonical.com-20140904203703-2sk67uwbzk9fc4tk
branch a new version for HP proliant systems where there is no power management required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
 
# hp-moonshot-maas-install - runs apt-get update, upgrade, and deploys the 
3
 
# hp-moonshot package
 
2
# hp-proliant-maas-install - runs apt-get update, upgrade, and deploys the 
 
3
# hp-proliant package
4
4
#
5
5
# Authors: Kent Baxley <kent.baxley@canonical.com>
6
6
27
27
 
28
28
apt-get update  --yes
29
29
apt-get upgrade --yes --force-yes
30
 
apt-get install hp-moonshot --yes --force-yes
 
30
apt-get install hp-proliant --yes --force-yes
31
31
wait
32
32
 
33
 
#Try to bootstrap once we are done installing the hp-moonshot package.
 
33
#Try to bootstrap once we are done installing the hp-proliant package.
34
34
 
35
35
chown -R ubuntu:ubuntu /home/ubuntu/.juju
36
 
bootstrap="/usr/bin/hp-moonshot-bootstrap-juju"
 
36
bootstrap="/usr/bin/hp-proliant-bootstrap-juju"
37
37
su - ubuntu -c "$bootstrap"
38
38