Skip to content

Commit

Permalink
fix: move images to top folder
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Jun 17, 2024
1 parent c2f36c5 commit b2faebe
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
condition: service_completed_successfully
volumes:
- server-certs:/certs
- ./sztp-server/images:/media
- ./images:/media
- ./sztp-server/config:/mnt
- ./sztp-server/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
entrypoint: /usr/local/bin/docker-entrypoint.sh
Expand Down Expand Up @@ -147,7 +147,7 @@ services:
condition: service_completed_successfully
volumes:
- server-certs:/certs
- ./sztp-server/images:/usr/local/apache2/htdocs
- ./images:/usr/local/apache2/htdocs
ports:
- 443:443
networks:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/change_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sleep 5
docker-compose ps

# define values
BOOT_IMG_FULL_PATH=../sztp-server/images/my-second-boot-image.img
BOOT_IMG_FULL_PATH=../images/my-second-boot-image.img
BOOTSTRAP_URL=http://localhost:7080/restconf/ds/ietf-datastores:running
BOOT_IMG_PATH=$(basename ${BOOT_IMG_FULL_PATH})
BOOT_IMG_HASH_VAL=$(openssl dgst -sha256 -c ${BOOT_IMG_FULL_PATH} | awk '{print $2}')
Expand Down

0 comments on commit b2faebe

Please sign in to comment.