hypriot / image-builder-odroid-c2

Build SD card image for ODROID C2
http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/
MIT License
36 stars 16 forks source link

Cloud init #30

Closed midnightconman closed 6 years ago

docbobo commented 6 years ago

@StefanScherer, I believe cloud-init is not yet integrate in the RPi version. Or is it? In the past, this was the main argument for not doing it for other variants either.

Once we had cloud-init, we could also get rid of some scripts, like e.g. resizing the root fs, if I am not mistaken.

StefanScherer commented 6 years ago

Thanks @midnightconman this is a great idea.

@docbobo Correct, it is not yet integrated in the RPi version. Reasons are lack of time to do so and how we should do this breaking change.

midnightconman commented 6 years ago

Thanks everyone... those are all very valid concerns.

What about a hybrid solution... maybe in device-init.yaml we can run cloud-init init --force or manually run cloud-init service systemctl start cloud-init-local.service? Then later when people start to adopt cloud-init phase out device-init and switch to pre-baked cloud-init files?

StefanScherer commented 6 years ago

Implemented with #32