Show message when neither clone nor iso is set

This commit is contained in:
Andrzej Ressel 2019-01-12 19:04:16 +01:00
parent 414c2fc749
commit 47ddee58b5

View File

@ -421,6 +421,8 @@ func resourceVmQemuCreate(d *schema.ResourceData, meta interface{}) error {
pmParallelEnd(pconf)
return err
}
} else {
return fmt.Errorf("Either clone or iso must be set")
}
} else {
log.Printf("[DEBUG] recycling VM vmId: %d", vmr.VmId())