mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 03:26:37 +00:00
Merge pull request #564 from nitkon/error_message
cli: Make message of using initrd OR rootfs clearer
This commit is contained in:
commit
4220a7a9be
@ -322,7 +322,7 @@ func newQemuHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
|
||||
|
||||
if image != "" && initrd != "" {
|
||||
return vc.HypervisorConfig{},
|
||||
errors.New("cannot specify an image and an initrd in configuration file")
|
||||
errors.New("having both an image and an initrd defined in the configuration file is not supported")
|
||||
}
|
||||
|
||||
firmware, err := h.firmware()
|
||||
|
Loading…
Reference in New Issue
Block a user