added install script for agent
changed backend to agent
This commit is contained in:
@@ -72,7 +72,7 @@ export function Nodes({ nodes, onChanged }) {
|
||||
<section className="space-y-5">
|
||||
<div className="border-b border-zinc-800 pb-5">
|
||||
<h1 className="text-2xl font-semibold text-zinc-100">Nodes</h1>
|
||||
<p className="mt-2 max-w-3xl text-sm leading-6 text-zinc-500">Register Incus backend agents by URL and token.</p>
|
||||
<p className="mt-2 max-w-3xl text-sm leading-6 text-zinc-500">Register Incus node agents by URL and token.</p>
|
||||
</div>
|
||||
|
||||
{error ? <Notice tone="bad" text={error} /> : null}
|
||||
|
||||
@@ -60,7 +60,7 @@ export function Scheduler({ onChanged, schedules, vms }) {
|
||||
<div className="border-b border-zinc-800 pb-5">
|
||||
<h1 className="text-2xl font-semibold text-zinc-100">Scheduler</h1>
|
||||
<p className="mt-2 max-w-3xl text-sm leading-6 text-zinc-500">
|
||||
Configure automatic backups per VM. Schedules are stored on the backend and run while the backend service is active.
|
||||
Configure automatic backups per VM. Schedules are stored in management and run while the management service is active.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ export function Settings({ nodes, onChanged }) {
|
||||
const result = await api.put(`/settings/${encodeURIComponent(nodeId)}`, { values });
|
||||
setFields(result.data.fields || []);
|
||||
setValues(Object.fromEntries((result.data.fields || []).map((field) => [field.key, field.value || ''])));
|
||||
setMessage('Settings saved. Running jobs use the updated values; a changed PORT still needs a backend restart.');
|
||||
setMessage('Settings saved. Running jobs use the updated values; a changed PORT still needs an agent restart.');
|
||||
await onChanged?.();
|
||||
} catch (requestError) {
|
||||
setError(errorMessage(requestError));
|
||||
|
||||
Reference in New Issue
Block a user