Skip to content

Commit fad6c34

Browse files
author
Sebastian Wagner
committed
Upgrade VMs to Ubuntu 26.04 LTS
1 parent 4723241 commit fad6c34

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

templates/user-data-prebuild.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runcmd:
1717
- systemctl enable fail2ban
1818

1919
# Install latest GitLab runner so artifacts can be pulled
20-
- curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
20+
- curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | os=ubuntu dist=noble bash
2121
- apt install -y gitlab-runner
2222

2323
# CUSTOM COMMANDS START

vm_images.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import (
2525
"golang.org/x/crypto/ssh"
2626
)
2727

28-
const kernelSHA256SumsURL = "https://cloud-images.ubuntu.com/daily/server/noble/current/unpacked/SHA256SUMS"
29-
const diskImageSHA256SumsURL = "https://cloud-images.ubuntu.com/daily/server/noble/current/SHA256SUMS"
28+
const kernelSHA256SumsURL = "https://cloud-images.ubuntu.com/daily/server/resolute/current/unpacked/SHA256SUMS"
29+
const diskImageSHA256SumsURL = "https://cloud-images.ubuntu.com/daily/server/resolute/current/SHA256SUMS"
3030

3131
const vmWorkdir = ".instance_data"
3232
const decompressedSuffix = "_decompressed"
3333

34-
var diskImageURL = fmt.Sprintf("https://cloud-images.ubuntu.com/daily/server/noble/current/noble-server-cloudimg-%s.img", runtime.GOARCH)
35-
var kernelURL = fmt.Sprintf("https://cloud-images.ubuntu.com/daily/server/noble/current/unpacked/noble-server-cloudimg-%s-vmlinuz-generic", runtime.GOARCH)
34+
var diskImageURL = fmt.Sprintf("https://cloud-images.ubuntu.com/daily/server/resolute/current/resolute-server-cloudimg-%s.img", runtime.GOARCH)
35+
var kernelURL = fmt.Sprintf("https://cloud-images.ubuntu.com/daily/server/resolute/current/unpacked/resolute-server-cloudimg-%s-vmlinuz-generic", runtime.GOARCH)
3636

3737
//go:embed templates/*.tpl
3838
var userDataTemplates embed.FS

0 commit comments

Comments
 (0)