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

Added support for disk init types #4284

Merged
merged 1 commit into from
Feb 25, 2016
Merged

Added support for disk init types #4284

merged 1 commit into from
Feb 25, 2016

Conversation

matt-deboer
Copy link
Contributor

Adds the capability to specify whether disks are "eager_zeroed" or "thin" upon creation, maintaining the original default behavior of "eager_zeroed"

resource "vsphere_virtual_machine" "web" {
    name = "webserver-01"
    vcpu = 1
    memory = 512
    disk {
        datastore = "${var.vsphere_datastore}"
        template = "${var.vsphere_template}"
        size = "100"
        type = "thin"
    }
}

Provides a fix for #3578

@tkak
Copy link
Contributor

tkak commented Dec 15, 2015

@matt-deboer Thank you for the PR. I think type is better than init_type like google provider.

Fixed formatting

changed 'init_type' to 'type'

Fixed acceptance tests for disk provisioning

Fixed docs for change from 'init_type' to 'type'
@matt-deboer
Copy link
Contributor Author

@tkak sounds fine to me; updated.

@tkak
Copy link
Contributor

tkak commented Dec 18, 2015

@matt-deboer Thanks! LGTM 👍

@ryanl-ee
Copy link

Personally I would be very happy to see this merged! :)

@mixacha
Copy link
Contributor

mixacha commented Feb 17, 2016

@tkak pinging for greater justice, it'd be great if this was merged as having disks created as thick by default is good but on highly oversubscribed envrionments thin is actually preferred.

@deasmi
Copy link

deasmi commented Feb 22, 2016

Is there a reason this hasn't been merged?

I'm using it successfully.

It makes a big difference for dev/test when fast turn around matters.

@mixacha
Copy link
Contributor

mixacha commented Feb 24, 2016

Seems like this was overlooked? I'm using a custom build with these changes merged, works like a charm.

Only datastore clusters remain.

Ping @jen20 can we get this one merged?

@SkiBum1942
Copy link

Also built and tested. It works great! We'd love to have it merged.
pinging @phinze

@phinze
Copy link
Contributor

phinze commented Feb 25, 2016

We're still working on getting the ability to run acceptance tests on our side, but based on the feedback here it sounds like this code is working well. Thanks @matt-deboer!

phinze added a commit that referenced this pull request Feb 25, 2016
Added support for disk init types
@phinze phinze merged commit 984d682 into hashicorp:master Feb 25, 2016
@ghost
Copy link

ghost commented Apr 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants