diff --git a/hetzner-cloud/cloud-config.yaml.tftpl b/hetzner-cloud/cloud-config.yaml.tftpl index 43733ba..0237223 100644 --- a/hetzner-cloud/cloud-config.yaml.tftpl +++ b/hetzner-cloud/cloud-config.yaml.tftpl @@ -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} \ No newline at end of file + - chown -R ${username}:${username} /home/${username} + - sh -c "$(curl -fsLS get.chezmoi.io)" \ No newline at end of file diff --git a/hetzner-cloud/main.tf b/hetzner-cloud/main.tf index 5964a94..76aa74a 100644 --- a/hetzner-cloud/main.tf +++ b/hetzner-cloud/main.tf @@ -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 }