diff --git a/README.md b/README.md index 285b564..56590cb 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,12 @@ run firecracker in netns namespace +The following structure is setup in this repository + +![img.png](./docs/business-schema.png) + +The official visual explanation of firecracker + +![img.png](./docs/firecracker-schema.png) + documentation [docs](./docs) diff --git a/docs/business-schema.png b/docs/business-schema.png new file mode 100644 index 0000000..5d340b4 Binary files /dev/null and b/docs/business-schema.png differ diff --git a/docs/firecracker-schema.png b/docs/firecracker-schema.png new file mode 100644 index 0000000..c6e71b8 Binary files /dev/null and b/docs/firecracker-schema.png differ diff --git a/internal/netlink/tap.go b/internal/netlink/tap.go index 5b2292a..2bf67cc 100644 --- a/internal/netlink/tap.go +++ b/internal/netlink/tap.go @@ -82,7 +82,7 @@ func CreateTap(tapNetwork net.IPNet, externalLinkName string) (*Tap, error) { return nil, err } - // Ip tapAddr add dev tap0 + // ip addr add dev tap0 err = netlink.AddrAdd(tap, &netlink.Addr{ IPNet: &tapNetwork, })