Replies: 1 comment 1 reply
-
I would try portForwards:
- ignore: true I think the defaults should work correctly. Otherwise try portForwards:
- ignore: true
guestIP: 127.0.0.1
guestPortRange: [1, 65535] Port 22 will always be forwarded. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use socket_vmnet and would like to turn off port-forwarding, mounts, and containerd completely (like the
--plain
mode).I don't want to use
--plain
because I found that only the provision scripts that run asmode: system
sees the environment variables I pass using.env
.The
mode: user
scripts don't have access to the environment variables, and even when I log into the VM's the environment variables don't show up (i.e, the/etc/environment
is empty).Is this expected? How do I get the effect similar to
--plain
but retain the environment variables?I tried setting portForwards to an empty list (
portForwards: []
), but I can see the hostAgent trying to portforward.Beta Was this translation helpful? Give feedback.
All reactions