|
|
@ -54,14 +54,14 @@ const PrepareHostForm: FC<PreapreHostFormProps> = (props) => { |
|
|
|
hostIPAddress: ip, |
|
|
|
hostIPAddress: ip, |
|
|
|
hostName: name, |
|
|
|
hostName: name, |
|
|
|
hostPassword: password, |
|
|
|
hostPassword: password, |
|
|
|
hostType: type, |
|
|
|
hostType: type === 'subnode' ? 'node' : type, |
|
|
|
hostUUID: uuid, |
|
|
|
hostUUID: uuid, |
|
|
|
redhatPassword, |
|
|
|
redhatPassword, |
|
|
|
redhatUser: redhatUsername, |
|
|
|
redhatUser: redhatUsername, |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
.then(() => { |
|
|
|
tools.confirm.finish('Success', { |
|
|
|
tools.confirm.finish('Success', { |
|
|
|
children: <>Host at {ip} prepared.</>, |
|
|
|
children: <>Started job to prepare host at {ip}.</>, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
tools.add.open(false); |
|
|
|
tools.add.open(false); |
|
|
|