Skip to content

Commit

Permalink
createdisk: add -r option to scp to copy directories
Browse files Browse the repository at this point in the history
arm64 contains some dirs in the ostree content
  • Loading branch information
Prashanth684 committed Aug 6, 2021
1 parent d00dd95 commit 4078177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createdisk.sh
Expand Up @@ -9,7 +9,7 @@ source tools.sh
source createdisk-library.sh

SSH="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc"
SCP="scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc"
SCP="scp -r -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc"

This comment has been minimized.

Copy link
@cfergeau

cfergeau Aug 9, 2021

Contributor

I would just add -r where it's needed, this is already done in some places:

${SCP} -r $1/packages core@api.${CRC_VM_NAME}.${BASE_DOMAIN}:/home/core/
# If the user set OKD_VERSION in the environment, then use it to override OPENSHIFT_VERSION, set BASE_OS
# Unless, those variables are explicitly set as well.
OKD_VERSION=${OKD_VERSION:-none}
Expand Down

0 comments on commit 4078177

Please sign in to comment.