Azure / Azure/azure-cli-extensions
image-copy-extension (v 0.2.7) issue hyper-v-generation
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### Extension name:
image-copy-extension (0.2.7)
### Description of issue:
There is an issue where virtual machines that are run with the copied Windows image do not work.
The image was successfully generalized before copying.
I tried both using `source-type image` as well as `source-type vm`
I am almost convinced that the reason is that the source machine is a second generation machine, while the image copying extension does not support the option to set `--hyper-v-generation={V1, V2}` and the target image always appears as V1 even though the source image is V2.
Am I right? I am asking for implementation or support
Command used to copy image from France Central to West Europe:
`az image copy --source-object-name image-francecentral --source-resource-group resgroup1 --target-resource-group resgroup1 --target-location westeurope --target-name image-westeurope --cleanup --timeout 72000 --verbose `
-----
Contributor guide
Assessment
This issue has not been assessed yet.