Giter Site home page Giter Site logo

Comments (3)

Shackelford-Arden avatar Shackelford-Arden commented on July 17, 2024

@DesignsWithDavid , now that it's been a while, I'm curious if you've come to better understand any of these points as you've used the plugin more? One might say I'm one of the "next newbie"s you mentioned 😄

from packer-plugin-xenserver.

DesignsWithDavid avatar DesignsWithDavid commented on July 17, 2024

Unfortunately, I am still unclear on these terms.

from packer-plugin-xenserver.

CoolReaper avatar CoolReaper commented on July 17, 2024

This is my understanding as I've done some extensive testing:

The idea of using Packer is to create a template VM, therefore, once Packer runs all its tasks, it saves the VM and its disks as template on the host. Additionally it might export to a path. Here is where format and output_directory come into place.
They define in which format and to where you want the export to happen.

For Format if you set to none, nothing is exported if build is successful, but the template is still created if build is successful.

Keep_VM I believe has some bugs, but the idea is to define whether the VM should be deleted if Packer fails some task or not. Indeed I've also experimented with it and the VM will always get deleted unless I set keep_VM to always. Still, even if set to always, if the build is successful, it will create a template and delete the VM, so I believe that Keep_VM should be understood as "what should Packer do if build is not successful". I haven't found any use case for "on_success". I think it doesn't work. Setting it to "Always" will leave the VM running if you cancel the build. Setting it to "Never" will delete the VM in all use cases.

SR_Name is definitely not related with any kind of output. it's the Storage Repository where the VM disks will be created.

And yes, I also found the documentation quite confusing. Hope this helps somehow.

from packer-plugin-xenserver.

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.