Skip to content

Commit 76a62c1

Browse files
committed
Revert small changes on the VM script
Signed-off-by: David Cassany <[email protected]>
1 parent 63aed81 commit 76a62c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_vm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function _abort {
2929

3030
function start {
3131
local base_disk=$1
32-
local usrnet_arg="-netdev user,id=user0,restrict=off,ipv6=off,hostfwd=tcp::${ELMNTL_FWDPORT}-:22 -device virtio-net-pci,romfile=,netdev=user0"
32+
local usrnet_arg="-netdev user,id=user0,ipv6=off,hostfwd=tcp:${ELMNTL_FWDIP}:${ELMNTL_FWDPORT}-:22 -device virtio-net-pci,romfile=,netdev=user0"
3333
local accel_arg
3434
local memory_arg="-m ${ELMNTL_MEMORY}"
3535
local firmware_arg="-drive if=pflash,format=raw,unit=0,readonly=on,file=${ELMNTL_FIRMWARE}"

0 commit comments

Comments
 (0)