clan-cli: Fix clan install command and multiple other issues
This commit is contained in:
@@ -48,9 +48,11 @@ export const MachineListItem = (props: MachineListItemProps) => {
|
||||
await toast.promise(
|
||||
callApi("install_machine", {
|
||||
opts: {
|
||||
machine: name,
|
||||
flake: {
|
||||
loc: active_clan,
|
||||
machine: {
|
||||
name: name,
|
||||
flake: {
|
||||
loc: active_clan,
|
||||
},
|
||||
},
|
||||
no_reboot: true,
|
||||
target_host: info?.deploy.targetHost,
|
||||
|
||||
@@ -68,10 +68,12 @@ const InstallMachine = (props: InstallMachineProps) => {
|
||||
);
|
||||
const r = await callApi("install_machine", {
|
||||
opts: {
|
||||
flake: {
|
||||
loc: curr_uri,
|
||||
machine: {
|
||||
name: props.name,
|
||||
flake: {
|
||||
loc: curr_uri,
|
||||
},
|
||||
},
|
||||
machine: props.name,
|
||||
target_host: props.targetHost,
|
||||
password: "",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user