You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2023. It is now read-only.
$ export K3OS_VERSION=v0.8.0-rc3
$ sudo -E /sbin/k3os-upgrade-kernel
Upgrading k3os kernel to Not Found
/sbin/k3os-upgrade-kernel: line 45: cd: too many arguments
ls: cannot access 'current': No such file or directory
ln: failed to create symbolic link './previous': File exists
unlink: cannot unlink 'current': No such file or directory
ln: target 'current' is not a directory
Upgrade complete! Please reboot.
After having looked into this, this is because the url in line 37 is wrong:
Version
v0.8.0-rc3
Architecture
x86_64
Describe the bug
After having looked into this, this is because the url in line 37 is wrong:
KERNEL_VERSION=$(curl -sL https://github.com/rancher/k3os/releases/${K3OS_VERSION}/download/k3os-kernel-version-${ARCH})
Compare this to /sbin/k3os-upgrade-rootfs:
https://github.com/rancher/k3os/releases/download/${K3OS_VERSION}/k3os-rootfs-${ARCH}.tar.gz
And also confirmed that the url is wrong from looking at the urls from GitHub themselves (https://github.com/rancher/k3os/releases).
It should be
releases/download/${K3OS_VERSION}
and notreleases/${K3OS_VERSION}/download
.Line 37 is the first place this occurs, but line 46 and 47 have the same issue:
The text was updated successfully, but these errors were encountered: