Giter Site home page Giter Site logo

Comments (7)

AtaxyaNetwork avatar AtaxyaNetwork commented on July 17, 2024 1

What we need is a check in the GO code that determines if that name already exists in the ISO repository and then upload or skip and just reference if its there.

Already done:
4f90bf5

from packer-plugin-xenserver.

tschilb252 avatar tschilb252 commented on July 17, 2024

UPDATE: only when an ISO is downloaded from a remote URL is it placed in the SR instead of the SR_ISO.

I was able to upload a local ISO file into the SR_ISO properly when the iso_url and iso_name property are the same. If I change the iso_url to an HTTP address, it uploads the ISO to the SR and not the SR_ISO.

from packer-plugin-xenserver.

AtaxyaNetwork avatar AtaxyaNetwork commented on July 17, 2024

Hi !

I'm currently using the provider and I had the same issue as you.
I found out, in the file common-config.go, between the line 274 and 284, config.SrName is used instead of config.SrISOName.
I changed that and i recompiled the plugin, and now my ISO is on my ISO SR.

@ddelnano: Do you want me to do a PR to change these lines ?

from packer-plugin-xenserver.

tschilb252 avatar tschilb252 commented on July 17, 2024

@AtaxyaNetwork

I worked around this by uploading my CD and just referencing the SR and the ISO itself. This prevents uploading over and over. What we need is a check in the GO code that determines if that name already exists in the ISO repository and then upload or skip and just reference if its there.

This wasn't a big issue for me since I am using the same ISO over and over and we now either make a script to upload the latest copy or manually complete that prior to deployment.

from packer-plugin-xenserver.

ddelnano avatar ddelnano commented on July 17, 2024

@AtaxyaNetwork that would be great. I finally have a more stable test environment for this plugin, which was a big hurdle for me quickly reviewing changes. Getting fully working CI would be great, but for now I will be able to turn around PR review more quickly.

from packer-plugin-xenserver.

AtaxyaNetwork avatar AtaxyaNetwork commented on July 17, 2024

Done !

from packer-plugin-xenserver.

ddelnano avatar ddelnano commented on July 17, 2024

This will be fixed in v0.5.3, which should be available in the next hour or so!

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.