Skip to content

WIP how to configure for k3os#1

Open
solsson wants to merge 1 commit into
youurayy:masterfrom
solsson:distro-k3os
Open

WIP how to configure for k3os#1
solsson wants to merge 1 commit into
youurayy:masterfrom
solsson:distro-k3os

Conversation

@solsson

@solsson solsson commented Dec 14, 2019

Copy link
Copy Markdown

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.

Comment thread hyperctl.sh
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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