Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 31704b9

Browse files
committed
Add the command to connect the machine remotely
Bug-AGL: SPEC-3508 Issues: https://github.com/automotive-grade-linux/docs-sources/issues/43 Signed-off-by: Zhong Lu <zhongl.fnst@cn.fujitsu.com> Signed-off-by: Zhang Nan <zhangnan.fnst@cn.fujitsu.com>
1 parent 730ef29 commit 31704b9

File tree

1 file changed

+6
-0
lines changed
  • docs/getting-started/machines

1 file changed

+6
-0
lines changed

docs/getting-started/machines/qemu.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ qemu-system-x86_64 -enable-kvm -m 2048 \
144144
-net user,hostfwd=tcp::2222-:22
145145
```
146146

147+
After successfully starting the virtual machine, use this command to connect the machine remotely:
148+
149+
```bash
150+
ssh –p 2222 root@localhost
151+
```
152+
147153
**NOTE:** KVM may not be supported within a virtualized environment such as
148154
VirtualBox. This is indicated by the qemu command above giving the error
149155
message `Could not access KVM kernel module: No such file or directory` or

0 commit comments

Comments
 (0)