Skip to content

Commit

Permalink
fix folder remove issue
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywang committed Jan 2, 2024
1 parent 37ce0f3 commit b833222
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fido-test/fdo-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ sudo buildah images
##
##########################################################
greenprint "🔧 Generate FDO key and configuration files"
mkdir aio
sudo mkdir aio
sudo podman run -v "$PWD"/aio/:/aio:z \
"localhost/aio:latest" \
aio --directory aio generate-configs-and-keys --contact-hostname "$FDO_MANUFACTURING_ADDRESS"

# Prepare FDO config files
greenprint "🔧 Prepare FDO key and configuration files for FDO containers"
cp -r aio/keys fdo/
rm -f aio
sudo cp -r aio/keys fdo/
sudo rm -rf aio

# Set servers store driver to postgres
greenprint "🔧 Set servers store driver to postgres"
Expand Down

0 comments on commit b833222

Please sign in to comment.