Re: [PATCH] Do not show the VNC-over-text question, when there is not enough memory for GUI (#527979)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack

On 10/09/2009 07:54 AM, Martin Sivak wrote:
---
  anaconda |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/anaconda b/anaconda
index 84dbbb7..6b01ed0 100755
--- a/anaconda
+++ b/anaconda
@@ -774,6 +774,11 @@ if __name__ == "__main__":
      #
      if not opts.display_mode:
          opts.display_mode = 'g'
+
+    # disable VNC over text question when not enough memory is available
+    if iutil.memInstalled()<  isys.MIN_GUI_RAM:
+        flags.vncquestion = False
+

      if opts.display_mode == 't' and flags.vncquestion: #we prefer vnc over text mode, so ask about that
          title = _("Would you like to use VNC?")

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux