mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 03:00:42 +00:00
fix: treat personalization as best-effort during startup reconcile
This commit is contained in:
parent
44bd0ff089
commit
00f0795cb9
1 changed files with 2 additions and 7 deletions
|
|
@ -390,13 +390,8 @@ func (d *Daemon) reconcileMachine(ctx context.Context, machineID contracthost.Ma
|
||||||
if !ready {
|
if !ready {
|
||||||
return record, nil
|
return record, nil
|
||||||
}
|
}
|
||||||
if err := d.personalizeGuest(ctx, record, *state); err != nil {
|
_ = d.personalizeGuest(ctx, record, *state)
|
||||||
return d.failMachineStartup(ctx, record, err.Error())
|
guestSSHPublicKey, _ := d.readGuestSSHPublicKey(ctx, state.RuntimeHost)
|
||||||
}
|
|
||||||
guestSSHPublicKey, err := d.readGuestSSHPublicKey(ctx, state.RuntimeHost)
|
|
||||||
if err != nil {
|
|
||||||
return d.failMachineStartup(ctx, record, err.Error())
|
|
||||||
}
|
|
||||||
record.RuntimeHost = state.RuntimeHost
|
record.RuntimeHost = state.RuntimeHost
|
||||||
record.TapDevice = state.TapName
|
record.TapDevice = state.TapName
|
||||||
record.Ports = defaultMachinePorts()
|
record.Ports = defaultMachinePorts()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue