Skip to content
  • Iustin Pop's avatar
    Add blacklisted/hidden OS support in LUDiagnoseOS · c950e9f2
    Iustin Pop authored
    
    
    This changes the behaviour of LUDiagnoseOS significantly.
    
    The addition of hidden/blacklisted OSes would mean that each user-facing
    client would have to filter intentionally such OSes from display, which
    is not a good choice. Rather, the patch makes LUDiagnoseOS not return
    any hidden or blacklisted OSes unless the hidden or respectively the
    blacklisted status is requested.
    
    While unconventional, this makes `gnt-instance reinstall --select-os`
    work as intended without any changes; similar for gnt-os list. gnt-os
    diagnose/gnt-os info are changed to query for, and display the new
    fields.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    c950e9f2