confd: Change the default shell of the admin user to bash

This let's users script infix devices without needing any special
NETCONF tools installed - ssh is enough. E.g. you can get the running
version with something like:

    ssh INFIX-HOST sysrepocfg -X -fjson -d operational \
    	-x "/system-state/platform/os-release" | jq .

It also means that SCP works as expected, by default.
This commit is contained in:
Tobias Waldekranz
2024-01-18 00:02:55 +01:00
committed by Joachim Wiberg
parent f3678ac93f
commit 74ed929873
+1 -1
View File
@@ -102,7 +102,7 @@ factory()
gen-interfaces $GEN_IFACE_OPTS >"$FACTORY_D/20-interfaces.json"
# Extract password for admin user from VPD
if ! gen-admin-auth infix-shell-type:clish >"$FACTORY_D/20-authentication.json"; then
if ! gen-admin-auth infix-shell-type:bash >"$FACTORY_D/20-authentication.json"; then
console_error "Unable to create factory-config, gen-admin-auth failed"
return
fi