neptune-networks / feedback

A public repository to track interest in features for Neptune Networks
5 stars 0 forks source link

Cloud Init #10

Open bswinnerton opened 4 years ago

bswinnerton commented 4 years ago

By using cloud init, we could significantly reduce the time it takes to get to a working shell on a VM.

It also could help us set hostnames, assign IPs, etc.

https://gist.github.com/itzg/2577205f2036f787a2bd876ae458e18e

bswinnerton commented 4 years ago

Blocked by https://github.com/clearlinux/distribution/issues/1990.

bswinnerton commented 4 years ago

There is more information on this in https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html.

bswinnerton commented 4 years ago

I was able to unblock this by creating a Docker image for cloud-localds: https://github.com/neptune-networks/cloud-localds-docker.

I'll be adding some documentation around that, but so far things are looking promising for Ubuntu. Investigating some problems with networking in Debian.

bswinnerton commented 4 years ago

Linking up https://lists.debian.org/debian-cloud/2020/06/msg00073.html for posterity.

bswinnerton commented 4 years ago

This is very relevant: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931173, found via https://forum.proxmox.com/threads/cloud-init-and-buster-generic-image-network-problem.62173/.

bswinnerton commented 4 years ago

I've successfully got Debian and Ubuntu cloud images working in a test environment. Still to be tested are CentOS and Fedora (though I wonder if it would be preferable to deprecate Fedora and add ISOs for FreeBSD, OpenBSD, and VyOS).