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

Take image virtual size into account when creating Volumes #1113

Merged
merged 1 commit into from
Sep 12, 2024

Commits on Aug 29, 2024

  1. Take image virtual size into account when creating Volumes

    This is a followup to harvester#1104
    
    When creating new volumes on the Volume screen in Harvester, the
    default size is empty, i.e. it's not pre-filled with anything at
    all.  If the source is set to "VM image" we can now take the image
    virtual size and use that as the default size for the volume.
    Unlike when creating VMs (which always set the volume to a minimum
    of 10GiB regardless of virtual size, for consistency with earlier
    harvester versions), on this screen we just use the virtual size
    as-is.  If the user wants to make it bigger, they can.
    
    Related issue: harvester/harvester#4905
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    Co-authored-by: Volker Theile <vtheile@suse.com>
    tserong and votdev committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3778552 View commit details
    Browse the repository at this point in the history