Don't download ISO for the generic VM driver

pull/10099/head
Anders F Björklund 2019-07-14 16:03:28 +02:00
parent 00763352b6
commit c07666957a
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ func provisionWithDriver(cmd *cobra.Command, ds registry.DriverState, existing *
os.Exit(0)
}
if driver.IsVM(driverName) {
if driver.IsVM(driverName) && driverName != driver.Generic {
url, err := download.ISO(viper.GetStringSlice(isoURL), cmd.Flags().Changed(isoURL))
if err != nil {
return node.Starter{}, errors.Wrap(err, "Failed to cache ISO")