What is the difference between images alpine/3.10 and alpine/3.10/cloud?

What is the difference between images alpine/3.10 and alpine/3.10/cloud?
They seem to be almost identical. Apart from the image dates, they seem to have a slightly different version in /etc/alpine-release.apk-new:
alpine/3.10: 3.10.2
alpine/3.10/:cloud: 3.10.1

The cloud variant has cloud-init installed in it.

That would be lovely, but does it work yet? How?
I created this profile for creating a user, which works with ubuntu, but not with alpine/3.10/cloud:

  user.user-data: |
      - name: votsalo
          - ssh-rsa test votsalo@example

description: creates votsalo user
name: votsalo
used_by: []

I used it as follows:
lxc launch ubuntu:18.04 u1 -p default -p votsalo
lxc launch images:alpine/3.10/cloud a1 -p default -p votsalo

container u1 has user “votsalo”, as specified in cloud-init
container a1 has no such user. Also tried with images:alpine/edge/cloud

My pet peeve with alpine is that I cannot create a passwordless user easily. I manually assign a dummy random password which I never use, in order to ssh with RSA key.

@monstermunchkin do you know how to use cloud-init with the alpine image?

It likes there is no official cloud-init package in Alpine yet.
In fact, there is a cloud-init package in edge only.

See here,

1 Like

Indeed, those images were produced but aren’t functional, I’ll go ahead and manually wipe them from the image server (we already stopped building them a while ago).