Skip to content

Commit

Permalink
Merge branch 'feat/embedded-registry-large-file' into feat/extract-ar…
Browse files Browse the repository at this point in the history
…tifacts
  • Loading branch information
erpz22 committed Aug 15, 2024
2 parents ab673b0 + 502fa8c commit f9e8683
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/combustion/templates/26-embedded-registry.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -euo pipefail

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

cat <<- EOF > /etc/systemd/system/eib-embedded-registry.service
cat <<-EOF >/etc/systemd/system/eib-embedded-registry.service
[Unit]
Description=Load and Serve Embedded Registry
After=network.target
Expand All @@ -22,4 +22,4 @@ Restart=on-failure
WantedBy=multi-user.target
EOF

systemctl enable eib-embedded-registry.service
systemctl enable eib-embedded-registry.service

0 comments on commit f9e8683

Please sign in to comment.