Skip to content

Commit

Permalink
Getting started with internet access
Browse files Browse the repository at this point in the history
Starting Firecracker section already includes iptables
rules for internet access, yet internet access
does not work without adding the default route.
DNS does not work without nameserver entry in
/etc/resolv.conf. This commit provides commands
that first time user can run to have full internet
access

Signed-off-by: Himanshu Neema <[email protected]>
  • Loading branch information
64bit authored and pb8o committed Mar 19, 2024
1 parent 934dd19 commit e1ee954
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ ssh -i ./ubuntu-22.04.id_rsa [email protected]

# Use `root` for both the login and password.
# Run `reboot` to exit.
#
# For internet access in the guest, run `ip route add default via 172.16.0.1 dev eth0`
# For DNS resolution in the guest, run `echo "nameserver 8.8.8.8" > /etc/resolv.conf`
```

Issuing a `reboot` command inside the guest will gracefully shutdown
Expand Down

0 comments on commit e1ee954

Please sign in to comment.