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:
parent
fad33a32c8
commit
11792edd57
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue