bin/console-conf-wrapper: update wrapper to use /run/console-conf
The changes in66e8222a09
andf3043cde88
introduced established /run/console-conf as the project runtime directory. Make sure that the wrapper uses the same location. Credits to @kubiko for introducing the changes in his core24 nucleus branch. Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
This commit is contained in:
parent
f83bf19e47
commit
09b039a868
|
@ -99,8 +99,8 @@ if snap routine console-conf-start --help >/dev/null 2>/dev/null; then
|
|||
snap routine console-conf-start
|
||||
fi
|
||||
# preapre host finger prints for console-conf as it cannot access sshd or host keys
|
||||
mkdir -p /run/console_conf
|
||||
/usr/share/subiquity/console-conf-write-login-details --host-fingerprints > /run/console_conf/host-fingerprints.txt
|
||||
mkdir -p /run/console-conf
|
||||
/usr/share/subiquity/console-conf-write-login-details --host-fingerprints > /run/console-conf/host-fingerprints.txt
|
||||
snap run console-conf "$@"
|
||||
rval=$?
|
||||
if [ ! ${rval} -eq 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue