Skip to content

Commit a35c261

Browse files
committed
openHAB4 branch to auto-install OH4
Signed-off-by: Markus Storm <markus.storm@gmx.net>
1 parent 0e7541d commit a35c261

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

docs/openhabian.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Set this according to your current location or you may risk violating regulatory
373373

374374
::: details Example
375375
```
376-
wifi_country="US"
376+
wifi_country="DE"
377377
```
378378
:::
379379

@@ -392,11 +392,11 @@ repositoryurl="https://github.com/openhab/openhabian.git"
392392

393393
#### `clonebranch`
394394

395-
The branch of the repository to use for openHABian.
395+
The branch of the repository to use for openHABian. Use branch openHAB4 or openHAB3 to get OH 4 or 3 installed right from the start.
396396

397397
::: details Example
398398
```
399-
clonebranch="openHAB"
399+
clonebranch="openHAB4"
400400
```
401401
:::
402402

@@ -419,7 +419,7 @@ Debug log level for openHABian, valid options are: `off`, `on` (verbose output i
419419

420420
::: details Example
421421
```
422-
debugmode="off"
422+
debugmode="maximum"
423423
```
424424
:::
425425

@@ -435,11 +435,11 @@ apttimeout="60"
435435

436436
#### `java_opt`
437437

438-
Java version to install, valid options are: `17`, `Zulu21-64`, or `BellSoft21`.
438+
Java version to install, valid options are: 17, 21, Temurin17, Temurin21, 11 (legacy)
439439

440440
::: details Example
441441
```
442-
java_opt="17"
442+
java_opt="Temurin21"
443443
```
444444
:::
445445

openhabian-setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
# Discussion: https://community.openhab.org/t/13379
1010
#
1111

12+
# this branch is to permanently install latest patch release OH openHAB 4.3
13+
openhabpkgversion=$(apt-cache madison openhab | grep 4.3 head -n 1 | awk '{ print $3 }')
14+
1215
configFile="/etc/openhabian.conf"
1316
if ! [[ -f $configFile ]]; then
1417
cp /opt/openhabian/build-image/openhabian.conf "$configFile"

0 commit comments

Comments
 (0)