Cheatsheet: Difference between revisions

imported>Mic92
more vm goodies
imported>Mic92
No edit summary
Line 369: Line 369:
</source>
</source>


To forward a port you can set export `QEMU_NET_OPTS`. In the following example port 2222 on the host is forwarded to port 22 in the vm:
To forward a port you can set export <code>QEMU_NET_OPTS</code>. In the following example port 2222 on the host is forwarded to port 22 in the vm:


<source lang="console">
<source lang="console">