Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

hcloud-upload-image-1.1.0-1.1 RPM for riscv64

From OpenSuSE Ports Tumbleweed for riscv64

Name: hcloud-upload-image Distribution: openSUSE Tumbleweed
Version: 1.1.0 Vendor: openSUSE
Release: 1.1 Build date: Sat May 10 16:46:53 2025
Group: Unspecified Build host: reproducible
Size: 10629940 Source RPM: hcloud-upload-image-1.1.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/apricote/hcloud-upload-image/
Summary: Quickly upload any raw disk images into your Hetzner Cloud projects
Quickly upload any raw disk images into your Hetzner Cloud projects!

The Hetzner Cloud API does not support uploading disk images directly, and it
only provides a limited set of default images. The only option for custom disk
images that users have is by taking a "snapshot" of an existing servers root
disk. These can then be used to create new servers.

To create a completely custom disk image, users have to follow these steps:

* Create server with the correct server type
* Enable rescue system for the server
* Boot the server
* Download the disk image from within the rescue system
* Write disk image to servers root disk
* Shut down the server
* Take a snapshot of the servers root disk
* Delete the server

This is an annoyingly long process. Many users have automated this with Packer
& packer-plugin-hcloud before, but Packer offers a lot of additional complexity
to wrap your head around.

This repository provides a simple CLI tool & Go library to do the above.

Provides

Requires

License

MIT

Changelog

* Sat May 10 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - Update to version 1.1.0:
    * Highlights
    - Smaller Snapshots
      The root disk is now zeroed before the intend image is
      uploaded. This makes sure, that no bytes from the original
      image are stored in the compressed snapshot. Previously a
      very small uploaded image could not be smaller than ~0.42Gi,
      as that was the (compressed) size of image that the server
      was started with. Starting a server from a custom image is
      slower the larger the image is, so by having smaller images
      the servers can start faster.
      As one example: The test Talos Linux 1.10.1 x86 image was
      0.42Gi before, and now only takes up 0.2Gi.
      This only benefits images that are smaller than 0.42Gi
      compressed.
    * Features
    - smaller snapshots by zeroing disk first (#101) (fdfb284),
      closes #96
    * Bug Fixes
    - upload from local image generates broken command (#98)
      (420dcf9), closes #97
* Sat May 10 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - Update to version 1.0.1:
    * Bug Fixes
    - timeout while waiting for SSH to become available (#92)
      (e490b9a)
    * Dependencies
    - chore(deps): update module
      github.com/apricote/hcloud-upload-image/hcloudimages to
      v1.0.1 (#95)
    - chore(deps): update golangci/golangci-lint-action action to
      v8 (#86)
    - chore(deps): update dependency golangci/golangci-lint to
      v2.1.6 (#85)
    - chore(deps): update dependency rust-lang/mdbook to v0.4.49
      (#87)
    - chore(deps): update dependency go to v1.24.3 (#91)
* Sat May 10 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - Update to version 1.0.0:
    * Highlights
    - Upload qcow2 images
      qcow2 images with a max size of 960 MB can now be uploaded.
      hcloud-upload-image upload --format=qcow2
    - -architecture=x86
    - -image-url=https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-OpenStack-Cloud.qcow2
      These will be converted to a raw disk image on the temporary
      server with qemu-img dd.
    - Container image
      There is now a pre-built container image available at
      ghcr.io/apricote/hcloud-upload-image that you can use to run
      the command instead of installing it.
    - Docs Website
      You can now enjoy the same old docs in a new dress published
      to a website: https://apricote.github.io/hcloud-upload-image/
    * Features
    - deps: require Go 1.23 (#70) (f3fcb62)
    - docs website (#80) (d144b85)
    - publish container image (#82) (91df729)
    - upload qcow2 images (#69) (ac3e9dd)
    * Dependencies
    - chore(deps): update module
      github.com/apricote/hcloud-upload-image/hcloudimages to
      v1.0.0 (#84)
    - chore(deps): update docker/login-action digest to 6d4b68b
      (#83)
    - chore(deps): update dependency rust-lang/mdbook to v0.4.48
      (#81)
    - chore(deps): update module golang.org/x/crypto to v0.37.0
      (#72)
    - chore(renovate): make sure to bump dependencies in lib too
      (#74)
    - chore(deps): update dependency golangci/golangci-lint to v2
      (#66)
    - chore(config): migrate renovate config (#73)
    - chore(deps): update module golang.org/x/net to v0.38.0
      [security] (#63)
    - chore(deps): update module
      github.com/hetznercloud/hcloud-go/v2 to v2.21.0 (#62)
    - chore(deps): update dependency golangci/golangci-lint to
      v1.64.8 (#64)
    - chore(deps): update module github.com/spf13/cobra to v1.9.1
      (#65)
    - feat(deps): require Go 1.23 (#70)
* Sun Dec 08 2024 opensuse_buildservice@ojkastl.de
  - Update to version 0.3.1:
    * chore(main): release 0.3.1 (#48)
    * chore(deps): update module golang.org/x/crypto to v0.30.0 (#55)
    * chore(deps): update module github.com/stretchr/testify to
      v1.10.0 (#53)
    * chore(deps): update module github.com/hetznercloud/hcloud-go/v2
      to v2.17.0 (#52)
    * chore(deps): update dependency golangci/golangci-lint to
      v1.62.2 (#54)
    * chore(deps): update module golang.org/x/crypto to v0.29.0 (#42)
    * chore(deps): update module github.com/hetznercloud/hcloud-go/v2
      to v2.16.0 (#49)
    * chore(deps): update dependency golangci/golangci-lint to
      v1.62.0 (#50)
    * fix(cli): local install fails because of go.mod replace (#47)
    * chore(deps): update module github.com/hetznercloud/hcloud-go/v2
      to v2.15.0 (#41)
    * docs: add generated CLI help output to repo (#46)
    * chore(deps): update dependency golangci/golangci-lint to
      v1.61.0 (#43)
    * chore(deps): update module
      github.com/apricote/hcloud-upload-image/hcloudimages to v0.3.0
      (#40)
    * refactor: drop custom package in favor of hcloud-go (#39)
* Sat Sep 28 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de>
  - new package hcloud-upload-image: quickly upload any raw disk
    images into your Hetzner Cloud projects

Files

/usr/bin/hcloud-upload-image
/usr/share/doc/packages/hcloud-upload-image
/usr/share/doc/packages/hcloud-upload-image/README.md
/usr/share/licenses/hcloud-upload-image
/usr/share/licenses/hcloud-upload-image/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat May 17 23:42:02 2025