-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add helper script to extract keys
when installing curl ignore certificates Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
- Loading branch information
Showing
2 changed files
with
23 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,21 @@ | ||
#!/bin/bash | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2022 Dell Inc, or its subsidiaries. | ||
|
||
set -euxo pipefail | ||
|
||
# docker compose plugin | ||
command -v docker-compose || { shopt -s expand_aliases && alias docker-compose='docker compose'; } | ||
|
||
# let everything start | ||
sleep 5 | ||
|
||
# print for debug | ||
docker-compose ps | ||
|
||
# test dhcp server | ||
docker-compose cp bootstrap:/opi.pem /tmp/opi.pem | ||
docker-compose cp bootstrap:/tmp/sztpd-simulator/pki/client/end-entity/my_cert.pem /tmp/my_cert.pem | ||
docker-compose cp bootstrap:/tmp/sztpd-simulator/pki/client/end-entity/private_key.pem /tmp/private_key.pem | ||
|
||
echo "DONE" |
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