mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 10:16:42 +00:00
Add SSH port redirect to pi2 and pi3
These ports are not actually exported in the Dockerfile, but may still be useful
This commit is contained in:
parent
7aa6eb975d
commit
91d0690d90
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ elif [ "${target}" = "pi2" ]; then
|
|||
kernel_pattern=kernel7.img
|
||||
dtb_pattern=bcm2709-rpi-2-b.dtb
|
||||
extra='dwc_otg.fiq_fsm_enable=0'
|
||||
nic='-netdev user,id=net0 -device usb-net,netdev=net0'
|
||||
nic='-netdev user,id=net0,hostfwd=tcp::5022-:22 -device usb-net,netdev=net0'
|
||||
elif [ "${target}" = "pi3" ]; then
|
||||
emulator=qemu-system-aarch64
|
||||
machine=raspi3
|
||||
|
|
@ -41,7 +41,7 @@ elif [ "${target}" = "pi3" ]; then
|
|||
kernel_pattern=kernel8.img
|
||||
dtb_pattern=bcm2710-rpi-3-b-plus.dtb
|
||||
extra='dwc_otg.fiq_fsm_enable=0'
|
||||
nic='-netdev user,id=net0 -device usb-net,netdev=net0'
|
||||
nic='-netdev user,id=net0,hostfwd=tcp::5022-:22 -device usb-net,netdev=net0'
|
||||
else
|
||||
echo "Target ${target} not supported"
|
||||
echo "Supported targets: pi1 pi2 pi3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue