Comments (5)
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.
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.
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.
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.
yes i think you are right. thank you!
from packer-plugin-hcloud.
Related Issues (16)
- hcloud builder creates multiple image snapshots with the same name HOT 1
- [Hetzner Cloud] Make Windows Server builds possible HOT 1
- Update Docs to show HCL2 config
- Allow Hetzner Snapshots as base for a Snapshot build HOT 1
- userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] HOT 4
- Attach Hetzner volume HOT 1
- Add skip_create_image config parameter to builder HOT 1
- New Release HOT 3
- Dependency Dashboard
- missing options to attach a firewall to the packer instance ? HOT 4
- feat: clear message on why snapshot creation failed HOT 4
- support packer build with ipv6 only HOT 9
- resource_unavailable error on packer build HOT 5
- Possible race condition related to `rescue` and `upgrade_server_type` options HOT 2
- Packer Crash when `image` cannot be found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-hcloud.