Skip to content

Commit

Permalink
Fixes #3628 Remove memory check
Browse files Browse the repository at this point in the history
Removes the memory check, as this is incorrect for a 8GB macbook that
is capable of running MicroShift. Lowering the check makes this less
relevant/meaningless; it says nothing about the ability in that case
to run any of the supported presets. Any check needs to happen from the
preset specific default values on startup, not installation.
  • Loading branch information
gbraad authored and praveenkumar committed May 5, 2023
1 parent 73a6cbc commit a841d06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packaging/darwin/Distribution.in
Expand Up @@ -12,13 +12,6 @@
<installation-check script="installCheck();"/>
<script>
function installCheck() {
if (9216000000 > system.sysctl('hw.memsize')) {
my.result.title = 'Too few memory installed';
my.result.message = 'Red Hat OpenShift Local requires at least 9GB of memory to run';
my.result.type = 'Fatal';
return false;
}

var apps = system.applications.fromIdentifier('com.redhat.codeready.containers');
if(apps) {
my.result.title = 'Update failed';
Expand Down

0 comments on commit a841d06

Please sign in to comment.