weizhouapache commented on PR #7799:
URL: https://github.com/apache/cloudstack/pull/7799#issuecomment-1680523628

   > @DaanHoogland I think we should add a parameter to listGuestOSes API, like 
the following
   > 
   > ```
   >     @Parameter(name = ApiConstants.FOR_DISPLAY, type = 
CommandType.BOOLEAN, description = "list resources by display flag; only ROOT 
admin is eligible to pass this parameter", since = "4.18.1", authorized = 
{RoleType.Admin})
   >     private Boolean display;
   > ```
   > 
   > The default value is `true` for all users. Then we will get the guest OSes 
which have display flag as true on UI and API response. All others guest OSes 
will be hidden, but VMs using them will still work, no need to update the guest 
os id of vm templates and vm instances.
   
   
   updated the PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to