mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 13:03:41 +00:00
fix: run e2fsck before restart boot, set panic=0 to prevent reboot loops
This commit is contained in:
parent
2cef6aace5
commit
73cdf2eb74
3 changed files with 7 additions and 1 deletions
|
|
@ -87,6 +87,8 @@ func (d *Daemon) StartMachine(ctx context.Context, id contracthost.MachineID) (*
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
repairDirtyFilesystem(systemVolume.Path)
|
||||
|
||||
spec, err := d.buildMachineSpec(id, artifact, userVolumes, systemVolume.Path, record.GuestConfig)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue