fix: run e2fsck before restart boot, set panic=0 to prevent reboot loops

This commit is contained in:
Harivansh Rathi 2026-04-11 14:41:02 +00:00
parent 2cef6aace5
commit 73cdf2eb74
3 changed files with 7 additions and 1 deletions

View file

@ -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