w/r to commented and unchanged entries in conf File
I do get a local clone as described be executing all these commands just now while typing this message.
git clone -b openHAB3 https://github.com/openhab/openhabian.git /opt/openhabian
This seems to work fine at least I do get something from Git
Next command should not have effect .conf File as it “just” creates a link (but for sure it’s executed)
ln -s /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config
Last command before applying changes to conf File is the copy if itself from Git sources
cp /opt/openhabian/build-image/openhabian.conf /etc/openhabian.conf
Once this local copy (of the copy from Git) it opended to apply changes it looks different to the one from Git and does contains many # where spaces are missing and even more the local clone from Git at /opt/openhabian/build-image/openhabian.conf
already looks different to me.
Sample extract of local file /opt/openhabian/build-image/openhabian.conf
> GNU nano 5.4 /opt/openhabian/build-image/openhabian.conf
> # values: "enable", "disable"
> ipv6=enable
>
> # repo and branch to clone from
> repositoryurl=https://github.com/openhab/openhabian.git
> clonebranch=openHAB3
>
> # debug verbosity mode
> # off, on (verbose output in log) or maximum (show every command)
> debugmode=off
>
> # fake hardware
> # force treating your box as if it was a ...
> # pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w
> #hw=pi4
>
> # Hardware architecture
> # x86_64, amd64, armv6l, armv7l, aarch64, arm64
> #hwarch=armv7l
If you look to same lines on Git
> # Origin: openhabian.conf
>
> #
>
> # Modify your openHABian settings
>
> # Handle with care, only touch if you need to!
>
> # This file will only be used on unattended initial install.
>
> # If you want to change anything after unattended install completed, use menu in openhabian-config.
>
> # Hostname to set this one to
>
> hostname=openhabian
>
> # if it exists, the default user (with its working environment) will be renamed to this username given here ...
>
> username=openhabian
>
> # ... and given this password. The password will be removed from this file after completion for security reasons.
>
> userpw=openhabian
>
> # set this to download a SSH key and authorize the owner to login as the admin user
>
> adminkeyurl=""
>
> # Language and timezone. See Debian documentation for valid values.
>
> timezone=Europe/Berlin
>
> locales="en_US.UTF-8 de_DE.UTF-8"
>
> system_default_locale="en_US.UTF-8"
>
> # WiFi settings. An ethernet connection is recommended.
>
> # If you have a RPi4, RPi3, RPi0W or a supported external WiFi dongle, the WiFi
>
> # interface can be setup and used for the initial installation.
>
> # Fill in your SSID and password below, leave empty or put comment in front to
>
> # have your WiFi remain unchanged/uninitialized. Make sure your Ethernet works.
>
> # ATTENTION: you need to escape these special characters: $, `, ", \, (newline)
>
> # 'Escaping' means to put an additional \ in front of that character
>
> wifi_ssid=""
>
> wifi_password=""
>
> # Wi-Fi setting. Select a two-letter country code suitable for your location
>
> # E.g. US (default), DE, AU, NZ...
>
> # You may infringe on local legislature otherwise
>
> # See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
>
> wifi_country=""
>
> # Eventually disable all IPv6 e.g. on installation problems
>
> # values: "enable", "disable"
>
> ipv6=enable
>
> # repo and branch to clone from
>
> repositoryurl=https://github.com/openhab/openhabian.git
>
> clonebranch=openHAB3
>
> # initial openHAB configuration to import (URL or filename)
>
> # the file needs to be a zip archive created from openhab-cli backup
>
> # initialconfig=/boot/initial.zip
>
> # debug verbosity mode
>
> # off, on (verbose output in log) or maximum (show every command)
>
> debugmode=off
>
> # the framebuffer on RPi is enabled by default
>
> framebuffer=enable
>
> # fake hardware
>
> # force treating your box as if it was a ...
>
> # pi4, pi4_8gb, cm4, pi400, pi3, cm3, pi3+, cm3+, pi2, pi1, cm1, pi0, pi0w, x86
>
> # hw=
>
> # Hardware architecture
>
> # x86_64, amd64, armv6l, armv7l, aarch64, arm64
>
> # hwarch=
>
> # OS distribution/release
>
> # Valid arguments: raspios, raspbian, debian, ubuntu, stretch, buster, bionic, focal
>
> # osrelease=