Skip to content

Commit 892637a

Browse files
committed
Add network token replacement example to 0006-reuse-base-path.toml
1 parent 15ff2b6 commit 892637a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

examples/0006-reuse-base-path.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Network Token Replacement Example: Custom Base Path
2+
#
3+
# This example demonstrates how to use network token replacement to customize
4+
# the --base-path argument while reusing zombienet's auto-generated base directory.
5+
#
6+
# The token {{'network'|zombie('base_path')}} gets replaced with the network's
7+
# temporary directory path at runtime (e.g., /tmp/zombie-abc123/alice/data),
8+
# allowing you to append custom suffixes like "/alice-custom-data".
9+
#
10+
# Available network token:
11+
# - {{'network'|zombie('base_path')}} - Node-specific data path (tmpDir + /custom_data_path)
12+
113
[relaychain]
214
default_image = "docker.io/paritypr/polkadot-debug:master"
315
default_command = "polkadot"

0 commit comments

Comments
 (0)