Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
a0ab35b3
Commit
a0ab35b3
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove docker version pinning for vagrant envs"
parents
6bd5b809
f7c19628
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dev/vagrant/bootstrap.sh
+5
-8
5 additions, 8 deletions
dev/vagrant/bootstrap.sh
dev/vagrant/ubuntu-bootstrap.sh
+1
-1
1 addition, 1 deletion
dev/vagrant/ubuntu-bootstrap.sh
with
6 additions
and
9 deletions
dev/vagrant/bootstrap.sh
+
5
−
8
View file @
a0ab35b3
...
...
@@ -29,8 +29,10 @@ function prep_work {
# resolve to the public IP instead of localhost.
sed
-i
-r
"s/^(127
\.
0
\.
0
\.
1
\s
+)(.*)
`
hostname
`
(.+)/
\1
\3
/"
/etc/hosts
yum
install
-y
http://mirror.nl.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum
install
-y
MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
&&
yum clean all
yum
install
-y
epel-release
rpm
--import
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
yum
install
-y
MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
yum clean all
pip
install
--upgrade
docker-py
}
...
...
@@ -49,11 +51,6 @@ enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
# Pin Docker version to 1.8.2 before including this change
# https://github.com/ansible/ansible-modules-core/pull/2258
# in some tagged version of Ansible.
yum
install
-y
yum-plugin-versionlock
yum versionlock add docker-engine-1.8.2-1.el7.centos.
*
# Also upgrade device-mapper here because of:
# https://github.com/docker/docker/issues/12108
yum
install
-y
docker-engine device-mapper
...
...
@@ -85,7 +82,7 @@ function configure_kolla {
# Configure the operator node and install some additional packages.
function
configure_operator
{
yum
install
-y
git mariadb
&&
yum clean all
pip
install
--upgrade
ansible python-openstackclient tox
pip
install
--upgrade
"
ansible
<2"
python-openstackclient tox
pip
install
~vagrant/kolla
...
...
This diff is collapsed.
Click to expand it.
dev/vagrant/ubuntu-bootstrap.sh
+
1
−
1
View file @
a0ab35b3
...
...
@@ -27,7 +27,7 @@ install_docker() {
apt-key adv
--keyserver
hkp://pgp.mit.edu:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
echo
"deb https://apt.dockerproject.org/repo ubuntu-vivid main"
>
/etc/apt/sources.list.d/docker.list
apt-get update
apt-get
install
-y
docker-engine
=
1.8.2
*
apt-get
install
-y
docker-engine
sed
-i
-r
"s,(ExecStart)=(.+),
\1
=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --insecure-registry
${
REGISTRY
}
:
${
REGISTRY_PORT
}
,"
/lib/systemd/system/docker.service
systemctl daemon-reload
systemctl
enable
docker
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment