openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Allow for unattended OH2 install #1600

Closed mstormi closed 2 years ago

mstormi commented 2 years ago

Related: #1594

openhab_setup will install OH2 whenever $1 != "openHAB3" so it works to pass $1=$clonebranch

Signed-off-by: Markus Storm markus.storm@gmx.net

mstormi commented 2 years ago

ok. See my comment on the issue, I think openhabian-setup.sh is still the code from the image (main branch) when it's executed so it calls openhab_setup with "openHAB3" as a param.

Now still need to wait for Ben to respond. As noted in the issue notes even with these changes it still does not probably because of the duplicate/conflicting repo definition.