diff options
| author | Andrey Shestakov <ashestakov@mirantis.com> | 2016-01-15 11:21:32 +0200 |
|---|---|---|
| committer | Andrey Shestakov <ashestakov@mirantis.com> | 2016-01-26 14:28:21 +0000 |
| commit | 9da034dc0a5e66ceb585d9f747afd278eeb853ef (patch) | |
| tree | 8dcc20b1f8ab24c996f60e08749507d7809412a9 | |
| parent | 87355c231a3bdf17fc1e9b1412f44f85dd549632 (diff) | |
| download | kolla-9da034dc0a5e66ceb585d9f747afd278eeb853ef.tar.gz kolla-9da034dc0a5e66ceb585d9f747afd278eeb853ef.zip | |
Fix ironic-pxe map-file location
map-file should not be overwriten by volume
TrivialFix
Change-Id: I57bf963fd4af8c010fda0c4504e83dc33f6e9162
| -rw-r--r-- | ansible/roles/ironic/templates/ironic-pxe.json.j2 | 2 | ||||
| -rw-r--r-- | docker/ironic/ironic-pxe/Dockerfile.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/ironic/templates/ironic-pxe.json.j2 b/ansible/roles/ironic/templates/ironic-pxe.json.j2 index f8f1666e7..3fdf9d88b 100644 --- a/ansible/roles/ironic/templates/ironic-pxe.json.j2 +++ b/ansible/roles/ironic/templates/ironic-pxe.json.j2 @@ -1,4 +1,4 @@ { - "command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /tftpboot/map-file /tftpboot", + "command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /map-file /tftpboot", "config_files": [] } diff --git a/docker/ironic/ironic-pxe/Dockerfile.j2 b/docker/ironic/ironic-pxe/Dockerfile.j2 index 72961d4b5..da2adbe5e 100644 --- a/docker/ironic/ironic-pxe/Dockerfile.j2 +++ b/docker/ironic/ironic-pxe/Dockerfile.j2 @@ -23,6 +23,6 @@ RUN apt-get install -y --no-install-recommends \ {% endif %} -COPY tftp-map-file /tftpboot/map-file +COPY tftp-map-file /map-file {{ include_footer }} |
