Skip to content

No commands run in the initial microVM #4239

Answered by sudanl0
choiyhking asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @choiyhking, getting started guide just covers how to quickly bootup a uVM and test it locally. To connect the uVM to the internet you'll have to follow some more steps from https://github.com/firecracker-microvm/firecracker/blob/main/docs/network-setup.md.

Sharing reference steps to follow along with the getting started page:

  1. Before starting Firecracker, run the On The Host steps.
  2. In the steps from Getting started guide, make sure to use "eth0" instead of "net1" (shared command below for reference)

curl -X PUT --unix-socket "${API_SOCKET}"
--data "{
"iface_id": "eth0",
"guest_mac": "$FC_MAC",
"host_dev_name": "$TAP_DEV"
}"
"http://localhost/network-interfaces/eth0"

  1. After the uV…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@choiyhking
Comment options

@sudanl0
Comment options

@choiyhking
Comment options

@sudanl0
Comment options

@choiyhking
Comment options

Answer selected by choiyhking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants