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

Builder Openstack image_min_disk #12

Open
ghost opened this issue Apr 21, 2021 · 0 comments
Open

Builder Openstack image_min_disk #12

ghost opened this issue Apr 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2021

This issue was originally opened by @possani as hashicorp/packer#9549. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Overview of the Issue

Hi, I am trying to create a new image, but I am getting the following behavior:

When specifying the image_min_disk, I would expect to see what the description says, "Minimum disk size needed to boot image, in gigabytes"; instead, I am setting the disk size.

Screenshot from 2020-07-08 09-44-05

image_min_disk and image_min_ram are not available. Instead, the current option should be named image_size.

It also takes a very long time to save the image, maybe due to the image size.

Reproduction Steps

packer build template.json

Packer version

Packer v1.6.0

Simplified Packer Buildfile

{
    "builders": [
        {
            "type": "openstack",
            "ssh_username": "ubuntu",
            "image_name": "Ubuntu-18.04-LTS-bionic-packer",
            "image_min_disk": 20,
            "source_image_name": "Ubuntu-18.04-LTS-bionic",
            "insecure": "true",
            ...
            "use_blockstorage_volume": "true"
        }
    ]
}

Operating system and Environment details

NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"

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

No branches or pull requests

0 participants