mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

#cloudinit

0 posts0 participants0 posts today

I sort of want to convert my DIY lab VM setup shell script to cloud-init, but it doesn't seem to have any support for populating /etc/crypttab and the fact that you have to embed files into YAML as base64 is beyond gross; YAML has a | operator for indented text blocks, but keeping files separate means that editing and syntax highlighting work normally.

Continued thread

Hint: use adduser, which is perl wrapper around useradd when working interactively and useradd from scripts, as it is more portable.

(And if you’re setting up a server in an automated fashion, let cloud-init, etc., handle it for you.)

This week I have experimented a bit with #debian cloud images.
The goal was to automate the provisioning of a small Debian VM.
I've tested various methods :
- debian preseed
- debian generic cloud image with virt-customize
- debian with #cloudinit
Here is the repository with working examples:
forge.lefuturiste.fr/mbess/deb

lefuturiste's forgedebian-vm-auto-setupExplore different ways to setup a debian VM

So I upgraded most of my #homelab, migrated to #incus, cleaned up, documented a few things I only had only kept as #cloudinit files etc. and finally got around to putting an #nginx proxy for client side certificate auth in front of a #nextcloud instance, then spent way too much time to get an iOS device to connect - just to find out that #nextcloud mobile app does not support client side cert auth (yet! scheduled to arrive 24th Apr. for Android) 🤡

User-data seems to be limited to 16KB, and cloud-init does not seem to have the equivalent of the nice "ignition.config.merge" feature.
Soooo, if you need to deploy a large configuration, do I need to use the ansible config option? (cloudinit.readthedocs.io/en/la)

Am I missing something? Is there a better solution (except the obvious one that is to drop that shit and use #FCOS instead)?

Gzip is already used. What do you do if this is not enough?

cloudinit.readthedocs.ioModule reference - cloud-init 23.3.3 documentation

Need #help. Is there anyone who has installed a fedora 30 with #cloudinit and static ip address configuration lately? We have the problem, that the configuration isn't applied with an error mentioning a missing renderer for that config, but this seems wrong. So it would even help to prove a point if you have installed it that way. Thanks

Got the following error on multipass (beta channel) version 0.5:

cannot connect to the multipass socket

If you encounter the same thing, refreshing the snap to version 0.5-27-g49baef0 fixed it for me:

sudo snap refresh multipass --edge --classic

Likely related to this issue: github.com/CanonicalLtd/multip

If you want to know what multipass is or how it will be used in , see ar.al/2019/01/05/hypha-spike-d

github.comfailure to contact image providers causes multipassd to abort startup · Issue #555 · CanonicalLtd/multipassMultipass has stopped working on my machine, a bionic host. c@slate:~$ multipass version multipass 2018.12.1-20-gf15e279 c@slate:~$ multipass list list failed: cannot connect to the multipass socke...