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 20, 2021
1 parent 8e9b7a5 commit d3fa0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createdisk.sh
Expand Up @@ -86,7 +86,7 @@ kernel_release=$(${SSH} core@api.${CRC_VM_NAME}.${BASE_DOMAIN} -- 'uname -r')
kernel_cmd_line=$(${SSH} core@api.${CRC_VM_NAME}.${BASE_DOMAIN} -- 'cat /proc/cmdline')

# SCP the vmlinuz/initramfs from VM to Host in provided folder.
${SCP} core@api.${CRC_VM_NAME}.${BASE_DOMAIN}:/boot/ostree/${BASE_OS}-${ostree_hash}/* $1
${SCP} -r core@api.${CRC_VM_NAME}.${BASE_DOMAIN}:/boot/ostree/${BASE_OS}-${ostree_hash}/* $1

# Add internalIP as node IP for kubelet systemd unit file
# More details at https://bugzilla.redhat.com/show_bug.cgi?id=1872632
Expand Down

0 comments on commit d3fa0d7

Please sign in to comment.