Skip to content

Commit

Permalink
Handle inst.rdp in Dracut
Browse files Browse the repository at this point in the history
Looks like we enable network already in dracut if inst.vnc is used,
lets switch the code to work with inst.rdp.

Also drop the VNC related commands, as they are no longer
expected to be used.

Resolves: RHEL-41219
  • Loading branch information
M4rtinK committed Jul 10, 2024
1 parent ce36b88 commit feca1c1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pyanaconda/argument_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,6 @@ def __call__(self, parser, namespace, values, option_string=None):
# Display
ap.add_argument("--resolution", dest="runres", default=None, metavar="WIDTHxHEIGHT",
help=help_parser.help_text("resolution"))
ap.add_argument("--usefbx", dest="xdriver", action="store_const", const="fbdev",
help=help_parser.help_text("usefbx"))
ap.add_argument("--vnc", action="store_true", default=False,
help=help_parser.help_text("vnc"))
ap.add_argument("--vncconnect", metavar="HOST:PORT", help=help_parser.help_text("vncconnect"))
ap.add_argument("--vncpassword", default="", metavar="PASSWORD",
help=help_parser.help_text("vncpassword"))
ap.add_argument("--xdriver", dest="xdriver", action="store", type=str,
default=None, metavar="DRIVER", help=help_parser.help_text("xdriver"))
ap.add_argument("--xtimeout", dest="xtimeout", action="store", type=int, default=X_TIMEOUT,
metavar="TIMEOUT_IN_SECONDS", help=help_parser.help_text("xtimeout"))
ap.add_argument("--rdp", action="store_true", default=False, dest="rdp_enabled",
Expand Down

0 comments on commit feca1c1

Please sign in to comment.