Skip to content

Commit

Permalink
Stop pretending liveinst+vnc is supported (#678354)
Browse files Browse the repository at this point in the history
Anaconda runs as an app on Live images and can hardly control remote access there.
  • Loading branch information
KKoukiou committed Apr 30, 2024
1 parent 9fdd45a commit ff77c70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/anaconda_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ vnc
Enable VNC-based installation. You will need to connect to the machine using a VNC client application.
A VNC install implies that the installed system will boot up in runlevel 3 instead of to the graphical
login screen. The VNC session will be shared. Consider setting a VNC password using the vncpassword
option.
option. This option is not supported for live installations.

vncconnect
Once installation is up and running, connect to the VNC client named HOST, and optionally use port PORT.
Expand Down
11 changes: 11 additions & 0 deletions data/liveinst/liveinst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,17 @@ for opt in $(cat /proc/cmdline) "$@"; do
fi
exit 1
;;
vnc|--vnc)
title="Configuration not supported"
text="VNC is not supported on live media."
if which zenity &> /dev/null; then
zenity --warning --title="$title" --text="$text"
else
echo "$title" >&2
echo "$text" >&2
fi
exit 1
;;
esac
done

Expand Down

0 comments on commit ff77c70

Please sign in to comment.