Giter Site home page Giter Site logo

Comments (5)

engelmi avatar engelmi commented on September 22, 2024 2

Hi @joppino, you are right - this feature is currently missing in the go-ovirt-client and we would need to add it here in order to enable this in the oVirt terraform provider.
The Initialization interface should be the right place to extend. I'll have a look at it.

from go-ovirt-client.

engelmi avatar engelmi commented on September 22, 2024 1

Hi @dyens, I created an issue for this (#250) - feel free to assign it to you. I have limited capacity, but I'll make sure to review your contribution and answer questions if some arise.

from go-ovirt-client.

dyens avatar dyens commented on September 22, 2024

Hi!
@engelmi I would like to add all Initialization arguments to go-ovirt-client. I think, that all of them can be very useful.
I found, that you already work on NicConfiguration parameter cf304db.

After merge your feature, i would like to create PR for other params (and pr for terraform provider). What do you think ?

Also i think, that all of Initialization parameters are optional.
What do you think if save customScript and hostname in constructor for backward compatibility:

func NewInitialization(customScript, hostname string) BuildableInitialization {..} 

And all other parameters should be configured via builder:

initialization := NewInitialization("custom-script", "hostname").WithSomeParam("some-param");

from go-ovirt-client.

engelmi avatar engelmi commented on September 22, 2024

@joppino This has been implemented in #249. I'll create a new release soon. Closing this issue.

from go-ovirt-client.

dyens avatar dyens commented on September 22, 2024

@engelmi TestVMCreationWithInit in live tests mode does not pass. This PR should fix: #251

from go-ovirt-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.