fix arm64 vs amd64 packages
This commit is contained in:
parent
43670416b4
commit
15d7b17e7a
2 changed files with 5 additions and 4 deletions
|
@ -107,11 +107,12 @@ runcmd:
|
|||
- sudo -u ${username} DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" systemctl --user start podman
|
||||
%{ endif ~}
|
||||
%{ if remote_ide_setup == "code_server" ~}
|
||||
- dnf install -y $(curl -sL https://api.github.com/repos/coder/code-server/releases/latest | jq -r '.assets[].browser_download_url' | grep "amd64.rpm")
|
||||
- curl -fsSL https://code-server.dev/install.sh | sh
|
||||
- systemctl enable --now code-server@${username}
|
||||
%{ endif }
|
||||
%{ if remote_ide_setup == "fleet" ~}
|
||||
- curl -LSs "https://download.jetbrains.com/product?code=FLL&release.type=preview&release.type=eap&platform=linux_x64" --output /usr/local/bin/fleet && chmod +x /usr/local/bin/fleet
|
||||
- curl -LSs "https://download.jetbrains.com/product?code=FLL&release.type=preview&release.type=eap&platform=$([ $(uname -m) = 'aarch64' ] && echo linux_aarch64 || echo linux_x64)" --output /usr/local/bin/fleet && chmod +x /usr/local/bin/fleet
|
||||
- systemctl enable --now fleet
|
||||
%{ endif }
|
||||
- chown -R ${username}:${username} /home/${username}
|
||||
- chown -R ${username}:${username} /home/${username}
|
||||
- sh -c "$(curl -fsLS get.chezmoi.io)"
|
|
@ -200,7 +200,7 @@ data "coder_parameter" "fleet_version" {
|
|||
name = "fleet_version"
|
||||
display_name = "Fleet version"
|
||||
description = "Which version of Fleet should be installed?"
|
||||
default = "1.19.111"
|
||||
default = "1.24.137"
|
||||
type = "string"
|
||||
mutable = true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue