mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 05:02:05 +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 {
|
||||
return record, nil
|
||||
}
|
||||
if err := d.personalizeGuest(ctx, record, *state); err != nil {
|
||||
return d.failMachineStartup(ctx, record, err.Error())
|
||||
}
|
||||
guestSSHPublicKey, err := d.readGuestSSHPublicKey(ctx, state.RuntimeHost)
|
||||
if err != nil {
|
||||
return d.failMachineStartup(ctx, record, err.Error())
|
||||
}
|
||||
_ = d.personalizeGuest(ctx, record, *state)
|
||||
guestSSHPublicKey, _ := d.readGuestSSHPublicKey(ctx, state.RuntimeHost)
|
||||
record.RuntimeHost = state.RuntimeHost
|
||||
record.TapDevice = state.TapName
|
||||
record.Ports = defaultMachinePorts()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue