Comments (18)
Availability of cloud-init
Alpine Linux
cloud-init is currently only available in the testing repo which needs to be added explicitly.
Versions:
- n/a (3.6)
- n/a (3.7)
- n/a (3.8)
- n/a (3.9)
- n/a (3.10)
- 18.5 (edge), 334.72 % increase
Alt Linux
cloud-init is available in the default repos.
Versions:
- 0.7.6 (p8), 7.84 % increase
- 18.4 (p9), 8.10 % increase
- 18.4 (Sisyphus), 8.06 % increase
Arch Linux
cloud-init is only available in the Arch User Repository. We should not support it since it's not an official package.
CentOS
cloud-init is available in the default repos.
Versions:
- 0.7.5 (6), 10.27 % increase
- 18.2 (7), 8.51 % increase
Debian
cloud-init is available in the default repos.
Versions:
- 0.7.6 (8 / jessie), 27.34 % increase
- 0.7.9 (9 / stretch), 16.13 % increase
- 18.3 (10 / buster), 15.69 % increase
- 18.3 (sid), 15.37 % increase
Devuan
cloud-init is available in the default repos.
Versions:
- 0.7.9 (ascii), 23.84 % increase
Fedora
cloud-init is available in the default repos.
Versions:
- 17.1 (28), 18.93 % increase
- 17.1 (29), 25.29 % increase
- 17.1 (30), 16.10 % increase
Gentoo
cloud-init is available in the default repos.
Versions:
- 17.2, 4.91 % increase
Kali
cloud-init is available in the default repos.
Versions:
- 18.3, 17.02 % increase
openSUSE
cloud-init is available in the default repos.
Versions:
18.5 (42.3)(EOL)- 18.5 (15.0), 59.39 % increase
- 18.5 (15.1), 59.20 % increase
- 19.1 (tumbleweed), 56.88 % increase
openwrt
cloud-init is not available.
Oracle Linux
cloud-init is available in the default repos.
Versions:
- 0.7.5 (6), 10.18 % increase
- 18.2 (7), 8.60 % increase
Plamo Linux
cloud-init is not available.
Sabayon
cloud-init is available in the default repos.
Versions:
- 18.5, 0.72 % increase
Ubuntu
cloud-init is available in the default repos.
Versions:
- 0.7.5 (14.04 / trusty), 24.95 % increase
- 19.1 (16.04 / xenial), 22.92 % increase
- 19.1 (18.04 / bionic), 10.39 % increase
- 19.1 (18.10 / cosmic), 10.40 % increase
- 19.1 (19.04 / disco), 10.54 % increase
- 19.1 (19.10 / eoan), 12.38 % increase
from distrobuilder.
We need to go through all our images and see where cloud-init is available in the distribution's repositories.
Then for all of those we should add it to our images.
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.
from distrobuilder.
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 .disabled
thing for example is somewhat new, so we may need to exclude more images because of that.
Once we have that list, we'll also want to know the size delta caused by adding cloud-init.
A size increase by 5% or less is fine for what it brings us, but if we're seeing a bigger impact than that, we'll need to look at it closer.
from distrobuilder.
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.
from distrobuilder.
Ah yeah, Alpine doesn't have python by default I suspect. I don't think we should cloud-init Alpine.
from distrobuilder.
Distros which don't have to install python as a dependency of cloud-init:
- CentOS 6
- CentOS 7
- Fedora 28
- Fedora 29
- Fedora 30
- Gentoo
- Oracle Linux 6
- Oracle Linux 7
- Sabayon
- Ubuntu Xenial
- Ubuntu Bionic
- Ubuntu Cosmic
- Ubuntu Disco
- Ubuntu Eoan
from distrobuilder.
This has been resolved.
from distrobuilder.
Alpine Linux
cloud-init is currently only available in the testing repo which needs to be added explicitly.
Versions:
* n/a (3.6) * n/a (3.7) * n/a (3.8) * n/a (3.9) * n/a (3.10) * 18.5 (edge), 334.72 % increase
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"
from distrobuilder.
We're not currently building cloud-init enabled images for Alpine, probably for this reason.
@monstermunchkin
from distrobuilder.
@cinnaboot #265 adds a repo handler for the apk package manager. cloud-init
can then be installed with
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
from distrobuilder.
@monstermunchkin are we going to be adding cloud images for Alpine then?
from distrobuilder.
@stgraber I wouldn't add Alpine cloud images as long as the cloud-init
package is in testing.
from distrobuilder.
Fair enough
from distrobuilder.
cloud-init doesn't seem to be in centos/7 image, is that on purpose ?
from distrobuilder.
that's what centos/7/cloud is for
from distrobuilder.
oh great thanks ! i didn't think to look at the variants sorry ^^'
from distrobuilder.
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.
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/edge0/main/x86_64/APKINDEX.tar.gz: No such file or directory
from distrobuilder.
@cinnaboot the variant is specified in the image section:
image:
distribution: "alpinelinux"
variant: "cloud"
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.
Yes, that is indeed a bug. Thanks for that! Here's the fix: #266
from distrobuilder.
Related Issues (20)
- Idiomatic way to use systemd-resolved in archlinux? HOT 3
- snap edge no compression level HOT 2
- [Bug] Distrobuilder fails building VMs on RPM based distros HOT 11
- edge snap fails to build-lxc armhf for openwrt HOT 1
- GID=1000 for netdev (Debian bookworm cloud image) HOT 7
- docs: readme suggests invalid go version HOT 3
- Command-line option `build-lxd` should return an error when used HOT 1
- BindReadOnlyPaths=/proc breaks NetworkD sysctl support
- distrobuilder build-incus --sources-dir doesn't match in documentation and source code HOT 1
- Building distrobuilder 3.0 fails (undefined: cmdGlobal) with go 1.21.5 and 1.20.12 HOT 3
- Add riscv64 HOT 7
- Source downloader docker-http - Cannot pull from docker registry HOT 5
- debootstrap: DNS resolution failure HOT 1
- Failed at the 'make' step; make: *** [Makefile:9: default] Error 2 HOT 3
- Race issue in various tests' use of temp directories HOT 2
- Update to flosch/pongo2.v4?
- Support for OCI specification HOT 3
- Update Docker source to add support for OCI specification instead of docker v2 HOT 2
- Debian sid build is failing due to merged usr HOT 4
- Failed running distrobuilder generating RockyLinux 9 VM HOT 2
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 distrobuilder.