diff options
author | Roland Hieber <rhi@pengutronix.de> | 2021-04-26 08:05:25 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2021-04-26 08:26:09 +0200 |
commit | f55c1918e690dccf9545173bfa16d83ff9817050 (patch) | |
tree | d3397d2d10785454bb6697130727b06bdb391f7e /configs/platform-v7a/run | |
parent | 5d2498919c21c8157e77b79ab6e03c1d793c362a (diff) | |
download | DistroKit-f55c1918e690dccf9545173bfa16d83ff9817050.tar.gz DistroKit-f55c1918e690dccf9545173bfa16d83ff9817050.tar.xz |
v7a: run: remove telnet port forwarding
Hopefully nobody uses telnet anymore these days. Our userland certainly
doesn't. Remove the outdated qemu port forwarding.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210426060526.32029-4-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/run')
-rwxr-xr-x | configs/platform-v7a/run | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run index 1dc4fd6..ed8ab1b 100755 --- a/configs/platform-v7a/run +++ b/configs/platform-v7a/run @@ -36,13 +36,9 @@ if [ ! -e "${QEMU_EXEC}" ]; then exit 1 fi -# the port a 'telned' would connect to (in the emulated sysem) -TELNET_INTERNAL_PORT=23 -# port QEMU opens at the host side to give access to the ${TELNET_INTERNAL_PORT} -TELNET_EXTERNAL_PORT=4444 - -# dito for ssh +# the port to which an sshd would connect (in the emulated sysem) SSH_INTERNAL_PORT=22 +# the port which QEMU opens at the host side to give access to the ${SSH_INTERNAL_PORT} SSH_EXTERNAL_PORT=4445 # check if vde is available for networking @@ -62,7 +58,7 @@ fi # fall back to user network if necessary if [ -z "${QEMU_NET}" ]; then - QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${TELNET_EXTERNAL_PORT}-:${TELNET_INTERNAL_PORT},hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} ) + QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} ) fi BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto" |