Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions asciidoc/troubleshooting/troubleshooting-edge-networking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ NMC is injected on SL Micro EIB images to configure the network of the Edge host
. *Run nmc manually*: As nmc is part of the EIB container, to debug any issues, a local podman command can be used.
.. Create a temporary folder to store the nmc files.
+
[,shell]
[,bash]
----
mkdir -p ${HOME}/tmp/foo
----

.. Save the nmc files on that location.
+
[,shell]
[,bash]
----
❯ tree --noreport ${HOME}/tmp/foo
/Users/johndoe/tmp/foo
Expand All @@ -50,9 +50,9 @@ mkdir -p ${HOME}/tmp/foo
----
.. Run the EIB container with nmc as the entrypoint and the generate command to perform the same tasks nmc would do at combustion time:
+
[,shell]
[,bash,subs="attributes"]
----
podman run -it --rm -v ${HOME}/tmp/foo:/tmp/foo:Z --entrypoint=/usr/bin/nmc registry.suse.com/edge/3.3/edge-image-builder:1.2.0 generate --config-dir /tmp/foo --output-dir /tmp/foo/
podman run -it --rm -v $\{HOME\}/tmp/foo:/tmp/foo:Z --entrypoint=/usr/bin/nmc registry.suse.com/edge/{version-edge}/edge-image-builder:{version-eib} generate --config-dir /tmp/foo --output-dir /tmp/foo/

[2025-06-04T11:58:37Z INFO nmc::generate_conf] Generating config from "/tmp/foo/host2.example.com.yaml"...
[2025-06-04T11:58:37Z INFO nmc::generate_conf] Generating config from "/tmp/foo/host1.example.com.yaml"...
Expand Down