diff --git a/asciidoc/edge-book/versions.adoc b/asciidoc/edge-book/versions.adoc index 5e4837b4..e185a13a 100644 --- a/asciidoc/edge-book/versions.adoc +++ b/asciidoc/edge-book/versions.adoc @@ -13,6 +13,9 @@ :version-edge: 3.1.3 :version-edge-registry: 3.1 +// == Edge Image Builder == +:version-eib: 1.1.2 + // == SUSE Linux Micro == :version-sl-micro: 6.0 diff --git a/asciidoc/troubleshooting/troubleshooting-edge-networking.adoc b/asciidoc/troubleshooting/troubleshooting-edge-networking.adoc index 74ca3c95..74a2b777 100644 --- a/asciidoc/troubleshooting/troubleshooting-edge-networking.adoc +++ b/asciidoc/troubleshooting/troubleshooting-edge-networking.adoc @@ -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 @@ -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-registry}/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"...