Wizard: fix Satellite registration cmd not found

This was a bug that was looking for incorrect path in files. We do not
want to treat cmd as a secret, we decided to expose it, so this was just
an inconvenience.
This commit is contained in:
Anna Vítová 2025-05-09 17:39:44 +02:00 committed by Simon Steinbeiß
parent fad33a32c8
commit 11792edd57

View file

@ -471,7 +471,7 @@ const getImageRequests = (state: RootState): ImageRequest[] => {
const getSatelliteCommand = (files?: File[]): string => {
const satelliteCommandFile = files?.find(
(file) => file.path === '/usr/local/sbin/register-satellite-cmd'
(file) => file.path === '/usr/local/sbin/register-satellite'
);
return satelliteCommandFile?.data
? decodeURIComponent(atob(satelliteCommandFile.data))