Skip to content

Commit 93827f0

Browse files
kbaegisDmitriyMV
authored andcommitted
docs: update network-config.md
Fixing typo 0xa->0x0a Signed-off-by: KBAegis <[email protected]> Signed-off-by: Dmitriy Matrenichev <[email protected]>
1 parent 423b1e5 commit 93827f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

website/content/v1.8/talos-guides/install/bare-metal-platforms/network-config.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,24 @@ The platform network configuration is a YAML document which contains resource sp
4343
For the `metal` platform, the [interactive dashboard]({{< relref "../../interactive-dashboard" >}}) can be used to edit the platform network configuration, also the configuration can be
4444
created [manually]({{< relref "../../../advanced/metal-network-configuration" >}}).
4545

46-
The current value of the platform network configuration can be retrieved using the `MetaKeys` resource (key `0xa`):
46+
The current value of the platform network configuration can be retrieved using the `MetaKeys` resource (key `0x0a`):
4747

4848
```bash
49-
talosctl get meta 0xa
49+
talosctl get meta 0x0a
5050
```
5151

5252
The platform network configuration can be updated using the `talosctl meta` command for the running node:
5353

5454
```bash
55-
talosctl meta write 0xa '{"externalIPs": ["1.2.3.4"]}'
56-
talosctl meta delete 0xa
55+
talosctl meta write 0x0a '{"externalIPs": ["1.2.3.4"]}'
56+
talosctl meta delete 0x0a
5757
```
5858

5959
The initial platform network configuration for the `metal` platform can be also included into the generated Talos image:
6060

6161
```bash
62-
docker run --rm -i ghcr.io/siderolabs/imager:{{< release >}} iso --arch amd64 --tar-to-stdout --meta 0xa='{...}' | tar xz
63-
docker run --rm -i --privileged ghcr.io/siderolabs/imager:{{< release >}} image --platform metal --arch amd64 --tar-to-stdout --meta 0xa='{...}' | tar xz
62+
docker run --rm -i ghcr.io/siderolabs/imager:{{< release >}} iso --arch amd64 --tar-to-stdout --meta 0x0a='{...}' | tar xz
63+
docker run --rm -i --privileged ghcr.io/siderolabs/imager:{{< release >}} image --platform metal --arch amd64 --tar-to-stdout --meta 0x0a='{...}' | tar xz
6464
```
6565

6666
The platform network configuration gets merged with other sources of network configuration, the details can be found in the [network resources guide]({{< relref "../../../learn-more/networking-resources.md#configuration-merging" >}}).

0 commit comments

Comments
 (0)