Running Nanos Image in Firecracker - Network Configuration #1554
-
I tried running an OPS-created image in a Firecracker VM:
Here, my configuration file (
This setup worked successfully when I launched the image in Firecracker. Is there a way to specify network details such as IP address, gateway, and netmask directly in the kernel boot-args section of the Firecracker configuration file (
I noticed that OSv has built-in support to pass network parameters through boot-args, as shown in the example below:
Is there a similar way to configure network settings directly in the kernel boot-args field in Firecracker, or does OPS provide support for setting network configurations for already created images? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I didn't know you could do this - we ignore those settings today but we could probably add that relatively easily and have them override the manifest (what ops would create) you can also use dhcp here if you don't have a strong need for static - nanovms/nanos#1976 |
Beta Was this translation helpful? Give feedback.
-
With nanovms/nanos#1983, it is now possible to configure network settings directly in the kernel boot-args field in Firecracker.
|
Beta Was this translation helpful? Give feedback.
I didn't know you could do this - we ignore those settings today but we could probably add that relatively easily and have them override the manifest (what ops would create)
you can also use dhcp here if you don't have a strong need for static - nanovms/nanos#1976