Merge pull request #2436 from sboeuf/fix_cloud_hypervisor

virtcontainers: clh: Set the serial to NULL instead of OFF
This commit is contained in:
Jose Carlos Venegas Munoz 2020-02-05 13:14:22 -06:00 committed by GitHub
commit 39e2357024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ func (clh *cloudHypervisor) createSandbox(ctx context.Context, id string, networ
} else {
clh.vmconfig.Serial = chclient.ConsoleConfig{
Mode: cctOFF,
Mode: cctNULL,
}
}
@ -761,6 +761,7 @@ func MaxClhVCPUs() uint32 {
const (
cctOFF string = "Off"
cctFILE string = "File"
cctNULL string = "Null"
)
const (