mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-11 12:52:23 +00:00
Merge pull request #2436 from sboeuf/fix_cloud_hypervisor
virtcontainers: clh: Set the serial to NULL instead of OFF
This commit is contained in:
commit
39e2357024
@ -265,7 +265,7 @@ func (clh *cloudHypervisor) createSandbox(ctx context.Context, id string, networ
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
clh.vmconfig.Serial = chclient.ConsoleConfig{
|
clh.vmconfig.Serial = chclient.ConsoleConfig{
|
||||||
Mode: cctOFF,
|
Mode: cctNULL,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -761,6 +761,7 @@ func MaxClhVCPUs() uint32 {
|
|||||||
const (
|
const (
|
||||||
cctOFF string = "Off"
|
cctOFF string = "Off"
|
||||||
cctFILE string = "File"
|
cctFILE string = "File"
|
||||||
|
cctNULL string = "Null"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user