Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
f0fd8d16
Commit
f0fd8d16
authored
Dec 09, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cr comments, adding trusty
parent
a08b10d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
util/install/ansible-bootstrap.sh
+14
-4
No files found.
util/install/ansible-bootstrap.sh
View file @
f0fd8d16
...
...
@@ -25,6 +25,10 @@ if [[ -z "$CONFIGURATION_VERSION" ]]; then
CONFIGURATION_VERSION
=
"master"
fi
if
[[
-z
"UPGRADE_OS"
]]
;
then
UPGRADE_OS
=
false
fi
#
# Bootstrapping constants
#
...
...
@@ -53,18 +57,24 @@ if [[ $(id -u) -ne 0 ]] ; then
exit
1
;
fi
if
!
grep
-q
'Precise Pangolin
'
/etc/os-release
;
then
if
!
grep
-q
-e
'Precise Pangolin'
-e
'Trusty Tahr
'
/etc/os-release
;
then
cat
<<
EOF
This script is only known to work on Ubuntu Precise, exiting.
If you are interested in helping make installation possible
This script is only known to work on Ubuntu Precise and Trusty,
exiting. If you are interested in helping make installation possible
on other platforms, let us know.
EOF
exit
1
;
fi
# Upgrade the OS
apt-get update
-y
apt-get upgrade
-y
if
[
"
$UPGRADE_OS
"
=
true
]
;
then
echo
"Upgrading the OS..."
apt-get upgrade
-y
fi
# Required for add-apt-repository
apt-get install
-y
software-properties-common python-software-properties git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment