Bug 48261 - Add/ Improve Reporting about Core License
Add/ Improve Reporting about Core License
Status: ASSIGNED
Product: USI
Classification: Unclassified
Component: usi-check tests
unspecified
Other Linux
: P5 normal
: ---
Assigned To: USI maintainer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-04 08:24 CET by Christian Völker
Modified: 2018-12-21 08:02 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2018-12-04 08:24:45 CET
We should have a check about the core license.

In case the usi is generated on a host with a core license it should warn (best in red colour).
Comment 1 Christian Völker univentionstaff 2018-12-21 08:02:30 CET
Simply added the following code to the existing 04license.sh:


core=""
core=($( grep "Core Edition" info/ucr-dump ))

if [ $core == "" ]; then
	status="${status}\e[1;31mCORE Edition!\e[0m"
	exitcode=1
fi