-
Notifications
You must be signed in to change notification settings - Fork 13
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
*: sed s/flatcar-linux/flatcar #372
Conversation
902476e
to
d06566f
Compare
d06566f
to
87f64df
Compare
cmd/cork/create.go
Outdated
@@ -115,7 +115,7 @@ func init() { | |||
creationFlags.StringVar(&sdkUrlPath, | |||
"sdk-url-path", "sdk", "SDK URL path") | |||
creationFlags.StringVar(&sdkURL, | |||
"sdk-url", "mirror.release.flatcar-linux.net", "SDK URL (supported schema: gs, https)") | |||
"sdk-url", "mirror.release.flatcar.net", "SDK URL (supported schema: gs, https)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sdk-url", "mirror.release.flatcar.net", "SDK URL (supported schema: gs, https)") | |
"sdk-url", "mirror.release.flatcar-linux.net", "SDK URL (supported schema: gs, https)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(To prevent this you could first replace the large bulk of github.com/flatcar-linux
and then look for any remaining flatcar-linux
references)
@@ -45,7 +45,7 @@ func init() { | |||
cmdCreateDevice.Flags().StringVar(&options.InstallerImageBaseURL, "installer-image-base-url", "", "installer image base URL, non-https (default board-dependent, e.g. \"http://stable.release.flatcar-linux.net/amd64-usr/current\")") | |||
cmdCreateDevice.Flags().StringVar(&options.InstallerImageKernelURL, "installer-image-kernel-url", "", "EquinixMetal installer image kernel URL, (default installer-image-base-url/flatcar_production_pxe.vmlinuz)") | |||
cmdCreateDevice.Flags().StringVar(&options.InstallerImageCpioURL, "installer-image-cpio-url", "", "EquinixMetal installer image cpio URL, (default installer-image-base-url/flatcar_production_pxe_image.cpio.gz)") | |||
cmdCreateDevice.Flags().StringVar(&options.ImageURL, "image-url", "", "image base URL (default board-dependent, e.g. \"https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_packet_image.bin.bz2\")") | |||
cmdCreateDevice.Flags().StringVar(&options.ImageURL, "image-url", "", "image base URL (default board-dependent, e.g. \"https://alpha.release-linux.flatcar.net/amd64-usr/current/flatcar_production_packet_image.bin.bz2\")") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmdCreateDevice.Flags().StringVar(&options.ImageURL, "image-url", "", "image base URL (default board-dependent, e.g. \"https://alpha.release-linux.flatcar.net/amd64-usr/current/flatcar_production_packet_image.bin.bz2\")") | |
cmdCreateDevice.Flags().StringVar(&options.ImageURL, "image-url", "", "image base URL (default board-dependent, e.g. \"https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_packet_image.bin.bz2\")") |
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I messed up.
It should be:
https://alpha.release.flatcar-linux.net
I appended -linux
to release
instead of flatcar
. 😑
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right, updated the suggestion
cmd/plume/containerlinux.go
Outdated
@@ -324,7 +324,7 @@ func (cs channelSpec) SourceURL() string { | |||
baseURL = cs.BasePrivateURL | |||
} | |||
if gceJSONKeyFile == "none" { | |||
baseURL = strings.Replace(baseURL, "gs://", "https://bucket.release.flatcar-linux.net/", 1) | |||
baseURL = strings.Replace(baseURL, "gs://", "https://bucket.release-linux.flatcar.net/", 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
baseURL = strings.Replace(baseURL, "gs://", "https://bucket.release-linux.flatcar.net/", 1) | |
baseURL = strings.Replace(baseURL, "gs://", "https://bucket.release.flatcar-linux.net/", 1) |
cmd/ore/do/create-image.go
Outdated
@@ -35,7 +35,7 @@ func init() { | |||
DO.AddCommand(cmdCreateImage) | |||
cmdCreateImage.Flags().StringVar(&options.Region, "region", "sfo2", "region slug") | |||
cmdCreateImage.Flags().StringVarP(&imageName, "name", "n", "", "image name") | |||
cmdCreateImage.Flags().StringVarP(&imageURL, "url", "u", "", "image source URL (e.g. \"https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_digitalocean_image.bin.bz2\"") | |||
cmdCreateImage.Flags().StringVarP(&imageURL, "url", "u", "", "image source URL (e.g. \"https://stable.release-linux.flatcar.net/amd64-usr/current/flatcar_production_digitalocean_image.bin.bz2\"") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmdCreateImage.Flags().StringVarP(&imageURL, "url", "u", "", "image source URL (e.g. \"https://stable.release-linux.flatcar.net/amd64-usr/current/flatcar_production_digitalocean_image.bin.bz2\"") | |
cmdCreateImage.Flags().StringVarP(&imageURL, "url", "u", "", "image source URL (e.g. \"https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_digitalocean_image.bin.bz2\"") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, should be good now - I grepped on release-linux
, sorry for the confusion :D
87f64df
to
6d7aa9f
Compare
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
6d7aa9f
to
613994e
Compare
Signed-off-by: Mathieu Tortuyaux mtortuyaux@microsoft.com
TODO: