Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP how to configure for k3os #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

solsson
Copy link

@solsson solsson commented Dec 14, 2019

I found hyperctl subcommands to have the right granularity to automate use of k3os for development. I made a quick attempt at configuring, but the URLs I get are incorrect. I'd really appreciate a bit of help with how https://github.com/rancher/k3os/releases/tag/v0.8.0 can be properly mapped to the config variables.

@@ -358,7 +370,7 @@ download-image() {

if ! [ -a $IMAGE.$IMGTYPE ]; then
curl $IMAGEURL/$IMAGE.$IMGTYPE$ARCHIVE -O
shasum -a 256 -c <(curl -s $IMAGEURL/$SHA256FILE | grep "$IMAGE.$IMGTYPE$ARCHIVE")
shasum -a 256 -c <(curl -s -L $IMAGEURL/$SHA256FILE | grep "$IMAGE.$IMGTYPE$ARCHIVE")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this a problem without the -L ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The checksums URL responded with a redirect to the actual checksums file.

@youurayy
Copy link
Owner

I'm maintaining both the .sh but also the PowerShell .ps1 versions and trying to keep them functionally identical, so we need this also in the .ps1. I'll try to find time this week for that, unless u can test on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants