-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong sources.list is used if additional sources are added in user-data #4
Comments
Hi @kwitsch, can you provide some examples to elaborate on what you mean (e.g. Also, have you checked https://cloudinit.readthedocs.io/en/latest/topics/modules.html#apt-configure? |
Example from my test-swarm which kind of works but is messy:
It errors during packages addition but recovers through package_update&upgrade. |
I'm not sure, I can follow you. Have you tried switching to I tried the following package_update: true
apt:
sources:
docker.list:
source: deb [arch=arm64] https://download.docker.com/linux/debian $RELEASE stable
keyid: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
packages:
- docker-ce
- docker-ce-cli
|
Ok i will try that next weekend and provide an answer. I would be glad if its just some configuration flaw on my part, I really like the idea of spinnung up a swarm without all the after-flash configuration 😅 |
done some testing, here the results:
works fine in the arm64 image but creates problems during the install on armhf
works fine on armhf as result i create different vendor-data files for the different images |
Ah, good to know, that this behaves differently on armhf. |
If additional sources are added in the user-data file cloud-init will overwrite the sources.list file(which is the expected behavior). Unfortunately the new file is for debian an not raspbian.
This results in some errors regarding the sources in cloud-init.
The text was updated successfully, but these errors were encountered: