-
Notifications
You must be signed in to change notification settings - Fork 163
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
Provide cloud-init with images #176
Comments
We need to go through all our images and see where cloud-init is available in the distribution's repositories. After that, we need to make sure that cloud-init doesn't do anything on the LXC image and for the LXD image that it has the needed templates similar to the official Ubuntu images. |
Availability of cloud-initAlpine Linuxcloud-init is currently only available in the testing repo which needs to be added explicitly. Versions:
Alt Linuxcloud-init is available in the default repos. Versions:
Arch Linuxcloud-init is only available in the Arch User Repository. We should not support it since it's not an official package. CentOScloud-init is available in the default repos. Versions:
Debiancloud-init is available in the default repos. Versions:
Devuancloud-init is available in the default repos. Versions:
Fedoracloud-init is available in the default repos. Versions:
Gentoocloud-init is available in the default repos. Versions:
Kalicloud-init is available in the default repos. Versions:
openSUSEcloud-init is available in the default repos. Versions:
openwrtcloud-init is not available. Oracle Linuxcloud-init is available in the default repos. Versions:
Plamo Linuxcloud-init is not available. Sabayoncloud-init is available in the default repos. Versions:
Ubuntucloud-init is available in the default repos. Versions:
|
For all of those where it's readily available, can you check what versions it is on all the releases we support? I know that the Once we have that list, we'll also want to know the size delta caused by adding cloud-init. |
The cloud images so far appear to be more than 7% larger, with Alpine taking the cake: 3.8MB vs. 17MB. I'll post all results once I have them. |
Ah yeah, Alpine doesn't have python by default I suspect. I don't think we should cloud-init Alpine. |
Distros which don't have to install python as a dependency of cloud-init:
|
This has been resolved. |
Hi, I'm trying to build an alpine image with cloud-init pre-installed, and was wondering how you were able to add it with distrobuilder. Just adding the testing repo under (packages: repositories: url) doesn't seem to work because there's no RepoHandler defined in https://github.com/lxc/distrobuilder/blob/master/managers/apk.go "Error: Failed to manage repositories: No repository handler present" |
We're not currently building cloud-init enabled images for Alpine, probably for this reason. |
@cinnaboot #265 adds a repo handler for the apk package manager. packages:
manager: apk
update: true
cleanup: true
sets:
- packages:
- cloud-init
action: install
variants:
- cloud
releases:
- edge
repositories:
- name: testing
url: http://dl-cdn.alpinelinux.org/alpine/{{ image.release }}/testing
releases:
- edge
variants:
- cloud |
@monstermunchkin are we going to be adding cloud images for Alpine then? |
@stgraber I wouldn't add Alpine cloud images as long as the |
Fair enough |
cloud-init doesn't seem to be in centos/7 image, is that on purpose ? |
that's what centos/7/cloud is for |
oh great thanks ! i didn't think to look at the variants sorry ^^' |
Thanks @monstermunchkin . I was able to get this to work for alpine. I'm not sure how to specify the 'variant' property to distrobuilder, but just removing that section seems to work too: https://gist.github.com/cinnaboot/b2aeb1b669933dd78a5dc715fe33ee89#file-alpine-yaml I also found what looks like a bug in distrobuilder by setting the 'same-as' property to '3.10', but wasn't able to figure out where the concatenation happens.
|
@cinnaboot the variant is specified in the image section: image:
distribution: "alpinelinux"
variant: "cloud"
Yes, that is indeed a bug. Thanks for that! Here's the fix: #266 |
Hello:
Is it possible to provide cloud-init packages with images at images.linuxcontainers.org?
Maybe this is too difficult to achieve or people use other methods to provision systems other than Ubuntu from cloud-images.ubuntu.com.
Thanks.
The text was updated successfully, but these errors were encountered: