Inspiration for OpenHAB 4 Auto Installer

Great thanks for sharing, always good to have people giving back and sharing.
I have done the same and test it only under Armbian with an Odroid N2+ which is also called Home Assistant Blue by some people.

You can find it linked below and feel free to help each other out by checking if stuff is broken due to an external program changing a config syntax like frontail or any of the other extra stuff to setup after openhab is running.

ARMBIAN is Debian based like Ubuntu so I would expect most of it to work for you. The Java will not as it’s for ARM64. There are differences in how an operating system may setup default ZRAM settings, and the testing and finding issues that stem from assumptions made is a huge task to apply a script to PI, odroid arms, and also x86 under Ubuntu.

That probably is because openhabian is only tested with Raspberry Pi products under one OS and the author is using x86(?). The docs state you can use it on untested hardware and also outlines hardware fake modes, then goes on to say no support. I can recommend openhabian highly for those using a PI, but I can not recommend it based on past experience trying to use it on Ubuntu and x86. It has improved a lot and there are multiple people working on it now so my thoughts are probably wrong and outdated, I suspect not, if someone has created another script.

Openhabian also states you can do X, but don’t do it and we don’t support it. Paraphrased it, but I am sure you get my point.

It is a huge task to keep a script running 100% when it does as much as openhabian does on a single set of hardware, it would be a full time job to keep it running and tested under multiple hardware and opperating systems.

So why create a script? THE answer to this is In six minutes I can fully rebuild my openhab setup with an automatic script and know it is exactly as I want it to be. Each time I have to adjust my system the script gets updated.