[
https://issues.apache.org/jira/browse/VCL-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929060#comment-15929060
]
ASF subversion and git services commented on VCL-1026:
------------------------------------------------------
Commit 1787267 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1787267 ]
VCL-1026
Added Ubuntu.pm::get_product_name.
> Improve VMware code's ability to select the proper guest OS
> -----------------------------------------------------------
>
> Key: VCL-1026
> URL: https://issues.apache.org/jira/browse/VCL-1026
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend)
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Fix For: 2.5
>
>
> VMware.pm currently selects the .vmx file's guestOS value by attempting to
> match the OS.name value to a hard-coded hash key in VMware.pm
> (%VM_OS_CONFIGURATION). If a base image is created for an OS not explicitly
> defined in the code, a very basic default is used (winXPPro or otherlinux).
> This works well enough for existing OS's. However, if you create a new
> Windows 10 base image and select the proper guestOS (windows9-64), VCL will
> resort to the XP default for images loaded with the image.
> It's worse for Linux images since most use the generic _vmwarelinux_ OS.
> Things could be easily improved by using the value from the reference .vmx
> file if available. This would the setting used to create a base image with
> the correct guestOS to be propagated to derivative VMs. It would not help
> existing images.
> Another option could be to attempt to determine the OS from the guest before
> an image is captured and include a comment in the reference .vmx file. This
> would allow guestOS's to be dynamically determined.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)