From 09b039a8683becca8f222199786bf74997f185d6 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Fri, 23 Feb 2024 14:05:21 +0100 Subject: [PATCH] bin/console-conf-wrapper: update wrapper to use /run/console-conf The changes in 66e8222a09da0fbc27ada889acab28ba8374cf42 and f3043cde88d04bc4c33d2c0f50e27b5e69262910 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 --- bin/console-conf-wrapper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/console-conf-wrapper b/bin/console-conf-wrapper index 63e93d00..d7fb0b96 100755 --- a/bin/console-conf-wrapper +++ b/bin/console-conf-wrapper @@ -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