Revert "close #3192"

This reverts commit 3b8f0023e5.
This commit is contained in:
Chris Bednarski 2016-02-29 13:51:47 -08:00
parent bf17e091b7
commit fee00baf6a
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error
driveArgs = append(driveArgs, fmt.Sprintf("file=%s,if=%s,cache=%s,discard=%s", imgPath, config.DiskInterface, config.DiskCache, config.DiskDiscard))
}
} else {
driveArgs["-drive"] = fmt.Sprintf("file=%s,if=%s,cache=%s", imgPath, config.DiskInterface, config.DiskCache)
defaultArgs["-drive"] = fmt.Sprintf("file=%s,if=%s,cache=%s", imgPath, config.DiskInterface, config.DiskCache)
}
deviceArgs = append(deviceArgs, fmt.Sprintf("%s,netdev=user.0", config.NetDevice))