Merge pull request #564 from nitkon/error_message

cli: Make message of using initrd OR rootfs clearer
This commit is contained in:
Sebastien Boeuf 2018-08-10 07:36:44 -07:00 committed by GitHub
commit 4220a7a9be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,7 @@ func newQemuHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
if image != "" && initrd != "" { if image != "" && initrd != "" {
return vc.HypervisorConfig{}, 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() firmware, err := h.firmware()