1
0

fix: add timeouts to kernel artifact

This commit is contained in:
dump_stack() 2024-02-20 23:00:52 +00:00
parent 375844e2cd
commit ed99ffd2e1
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -229,11 +229,13 @@ func (cmd *PewCmd) Run(g *Globals) (err error) {
if cmd.QemuTimeout != 0 {
log.Info().Msgf("Set qemu timeout to %s", cmd.QemuTimeout)
g.Config.Qemu.Timeout.Duration = cmd.QemuTimeout
ka.Qemu.Timeout.Duration = cmd.QemuTimeout
}
if cmd.DockerTimeout != 0 {
log.Info().Msgf("Set docker timeout to %s", cmd.DockerTimeout)
g.Config.Docker.Timeout.Duration = cmd.DockerTimeout
ka.Docker.Timeout.Duration = cmd.DockerTimeout
}
if cmd.Tag == "" {