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
35917e34
Commit
35917e34
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add missing files in ironic containers"
parents
ab6e2eba
6345313d
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
docker/ironic/ironic-conductor/Dockerfile.j2
+6
-2
6 additions, 2 deletions
docker/ironic/ironic-conductor/Dockerfile.j2
docker/ironic/ironic-pxe/extend_start.sh
+1
-1
1 addition, 1 deletion
docker/ironic/ironic-pxe/extend_start.sh
with
7 additions
and
3 deletions
docker/ironic/ironic-conductor/Dockerfile.j2
+
6
−
2
View file @
35917e34
...
@@ -4,7 +4,9 @@ MAINTAINER {{ maintainer }}
...
@@ -4,7 +4,9 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install openstack-ironic-conductor \
RUN yum -y install \
openstack-ironic-conductor \
qemu-img \
&& yum clean all
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
{% elif base_distro in ['ubuntu'] %}
...
@@ -19,7 +21,9 @@ RUN apt-get install -y --no-install-recommends \
...
@@ -19,7 +21,9 @@ RUN apt-get install -y --no-install-recommends \
{% elif install_type == 'source' %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install ipmitool \
RUN yum -y install \
qemu-img \
ipmitool \
&& yum clean all
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
...
...
This diff is collapsed.
Click to expand it.
docker/ironic/ironic-pxe/extend_start.sh
+
1
−
1
View file @
35917e34
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if
[[
"
${
!KOLLA_BOOTSTRAP[@]
}
"
]]
;
then
if
[[
"
${
!KOLLA_BOOTSTRAP[@]
}
"
]]
;
then
chown
-R
ironic: /tftpboot
chown
-R
ironic: /tftpboot
for
pxe_file
in
/var/lib/tftpboot/chain.c32 /usr/lib/syslinux/pxelinux.0 /usr/lib/syslinux/chain.c32
;
do
for
pxe_file
in
/var/lib/tftpboot/pxelinux.0
/var/lib/tftpboot/chain.c32 /usr/lib/syslinux/pxelinux.0 /usr/lib/syslinux/chain.c32
;
do
if
[[
-e
"
$pxe_file
"
]]
;
then
if
[[
-e
"
$pxe_file
"
]]
;
then
cp
"
$pxe_file
"
/tftpboot
cp
"
$pxe_file
"
/tftpboot
fi
fi
...
...
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