cmd/kola: add qemu.mangled flag to properties.json
Record whether the disk image was modified to enable logging.
@@ -156,6 +156,7 @@ func writeProps() error {
}
type QEMU struct {
Image string `json:"image"`
+ Mangled bool `json:"mangled"`
}
return enc.Encode(&struct {
Cmdline []string `json:"cmdline"`
@@ -199,6 +200,7 @@ func writeProps() error {
},
QEMU: QEMU{
Image: kola.QEMUOptions.DiskImage,
+ Mangled: !kola.QEMUOptions.UseVanillaImage,
},
})
}
