Skip to content

Commit

Permalink
fix: move zarf from /usr/local/bin to /usr/bin, which is in root's PA…
Browse files Browse the repository at this point in the history
…TH (#55)
  • Loading branch information
RothAndrew authored Sep 21, 2023
1 parent ff68809 commit 55c90ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/user_data.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ curl -s https://fluxcd.io/install.sh | sudo bash
wget -O /home/${ssh_user}/zarf https://github.com/defenseunicorns/zarf/releases/download/${zarf_version}/zarf_${zarf_version}_Linux_amd64
wget -O /home/${ssh_user}/zarf-init-amd64-${zarf_version}.tar.zst https://github.com/defenseunicorns/zarf/releases/download/${zarf_version}/zarf-init-amd64-${zarf_version}.tar.zst
chmod +x /home/${ssh_user}/zarf
cp /home/${ssh_user}/zarf /usr/local/bin/zarf
cp /home/${ssh_user}/zarf-init-amd64-${zarf_version}.tar.zst /usr/local/bin/zarf-init-amd64-${zarf_version}.tar.zst
cp /home/${ssh_user}/zarf /usr/bin/zarf
cp /home/${ssh_user}/zarf-init-amd64-${zarf_version}.tar.zst /usr/bin/zarf-init-amd64-${zarf_version}.tar.zst
chown -R ${ssh_user}:${ssh_user} /home/${ssh_user}/

# Create the /usr/share/collectd directory and types.db file
Expand Down

0 comments on commit 55c90ac

Please sign in to comment.