Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Closes-Bug: #1650345 Change-Id: Id03619b4e26a0a77c2a39e2de21efd13be0e9200
- Loading branch information
1 parent
cae2305
commit 040ff6e
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} | ||
MAINTAINER {{ maintainer }} | ||
|
||
{% block dnsmasq_header %}{% endblock %} | ||
|
||
{% import "macros.j2" as macros with context %} | ||
|
||
{% set dnsmasq_packages = ['dnsmasq'] %} | ||
{{ macros.install_packages(dnsmasq_packages| customizable("packages")) }} | ||
|
||
{% block dnsmasq_footer %}{% endblock %} | ||
{% block footer %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases | ||
# of the KOLLA_BOOTSTRAP variable being set, including empty. | ||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then | ||
ironic-inspector-dbsync --config-file /etc/ironic-inspector/inspector.conf upgrade | ||
exit 0 | ||
fi |