Add support for win 2019 and licenses

Bug #1836703 reported by Gabriel Ramirez on 2019-07-16
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
High
Blake Rouse
2.6
High
Blake Rouse

Bug Description

Add support for distro_series Win server 2019 in provisioningserver/drivers/osystem/windows.py

As well as have require a license for it so that it appears in /5240/MAAS/settings/license-keys

Currently only distro_series 'win2012', 'win2012r2', 'win2016' display licenses

Change would like like:

WINDOWS_CHOICES = {
'win2012': 'Windows "Server 2012"',
'win2012r2': 'Windows "Server 2012 R2"',
'win2012hv': 'Windows "Hyper-V Server 2012"',
'win2012hvr2': 'Windows "Hyper-V Server 2012 R2"',
'win2016': 'Windows "Server 2016 Standard"',
'win2016hv': 'Windows "Hyper-V Server 2016"',
'win2016nano': 'Windows "Nano Server 2016"',
'win2016dc': 'Windows "Server 2016 Datacenter"',
'win2019': 'Windows "Server 2019 Standard"',
'win2019dc': 'Windows "Server 2019 Datacenter"',
}

with corresponding

REQUIRE_LICENSE_KEY = ['win2012', 'win2012r2', 'win2012hv', 'win2012hv2', 'win2016', 'win2016hv', 'win2016nano', 'win2016dc', 'win2019', 'win2019dc' ]

Tags: sts Edit Tag help

Related branches

Changed in maas:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 2.7.0alpha1
Changed in maas:
status: In Progress → Fix Committed
Igor Gnip (igorgnip) wrote :

Related feature request to improve maas support of windows:

https://bugs.launchpad.net/maas/+bug/1840495

(so that multiple images of same os version can be uploaded and maas serial key can be added via api/cli/ui)

tags: added: sts
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers