openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs

Home Page:https://openbuildservice.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-appliance.sh with conflicting default prompts

jengelh opened this issue · comments

Version: obs-server-2.11~alpha.20240401T110216.75a12ddf5-150600.16690.1.noarch

Issue Description

# /usr/lib/obs/server/setup-appliance.sh --force
Starting setup-appliance.sh at Mon Apr 1 17:30:10 CEST 2024
...
Service obsdodup is not enabled. Would you like to enable it? [Yn]
Default: y
<ENTER>
Recommended service obsdodup enabled now!
Created symlink /etc/systemd/system/multi-user.target.wants/obsdodup.service -> /usr/lib/systemd/system/obsdodup.service.
Service obsdeltastore is not enabled. Would you like to enable it? [Yn]
Default: y
<ENTER>
Recommended service obsdeltastore enabled now!
...
Service obsapisetup is not enabled. Would you like to enable it? [yN]
Default: y

Conflict: Is the default now n or is it y? Judging from just hitting enter, the default is 'y', so it should not say yN.