Giter Club home page Giter Club logo

Comments (5)

jooola avatar jooola commented on August 26, 2024 1

I am not sure our packer plugin is the source of your problem. I don't know Talos, but I'd rather look into the configuration files used to configure the server during the first boot (user-data).

I am going to close this for now, feel free to comment again if you think the problem do come from our packer plugin.

from packer-plugin-hcloud.

jooola avatar jooola commented on August 26, 2024

Hi @mrclrchtr

I am not sure to understand your request: What do you mean by generation ? Could you explain a bit more your problem?

If you have problem with leftover configuration on the image that you build, I recommend you to clean up the instance before making the snapshot. You can start by running cloud-init clean and clean even more things from there.

from packer-plugin-hcloud.

mrclrchtr avatar mrclrchtr commented on August 26, 2024

Hi @jooola,

thanks for the reply.
It's been a long time, so i'm not sure if i need it anymore...

But that's the point:
it's about this packer file: https://github.com/hcloud-talos/terraform-hcloud-talos/blob/main/_packer/talos-hcloud.pkr.hcl

I create a base image there, with the talos operating system as a snapshot, from which new instances can then be created.

It seems to be the case that I later have information about the IPs in the snapshot. But I'm not so sure anymore. I assumed this when I created the ticket.

from packer-plugin-hcloud.

apricote avatar apricote commented on August 26, 2024

I agree with @jooola on this. You are writing the talos disk image directly to the root disk, without booting it. Making a snapshot of this root disk should only include the unaltered talos disk image.

I am doing something very similar in https://github.com/apricote/flatcar-packer-hcloud/blob/main/flatcar.pkr.hcl with Flatcar images, and the images are uploaded/saved exactly as expected.

from packer-plugin-hcloud.

mrclrchtr avatar mrclrchtr commented on August 26, 2024

yes i think you are right. thank you!

from packer-plugin-hcloud.

Related Issues (16)

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.