mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
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:
committed by
Joachim Wiberg
parent
f3678ac93f
commit
74ed929873
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user