Skip to content

Commit

Permalink
feat: use rsync replace cp to handle large size file
Browse files Browse the repository at this point in the history
  • Loading branch information
erpz22 committed Aug 15, 2024
1 parent 4a89495 commit 39c8f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/combustion/templates/26-embedded-registry.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

mkdir /opt/hauler
cp {{ .RegistryDir }}/hauler /opt/hauler/hauler
rsync -avc {{ .RegistryDir }}/*-{{ .RegistryTarSuffix }} /opt/hauler/
rsync -av {{ .RegistryDir }}/*-{{ .RegistryTarSuffix }} /opt/hauler/

cat <<-EOF >/etc/systemd/system/eib-embedded-registry.service
[Unit]
Expand Down

0 comments on commit 39c8f2b

Please sign in to comment.