summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-05-18 14:04:51 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-05-18 14:04:51 -0700
commit8e3b81d1a13f35d4b419fe9af6da2e0b7fa64a64 (patch)
tree138ac562db243b7b09594ec333542b2569adbed0 /scripts
parentc1996ea96f991e641af8f62efa63a133db0f9814 (diff)
downloadvyatta-cfg-8e3b81d1a13f35d4b419fe9af6da2e0b7fa64a64.tar.gz
vyatta-cfg-8e3b81d1a13f35d4b419fe9af6da2e0b7fa64a64.zip
notes on arbitrary root node loading in merge operations.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-load-config.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl
index 6755015..a3cf6ef 100755
--- a/scripts/vyatta-load-config.pl
+++ b/scripts/vyatta-load-config.pl
@@ -38,6 +38,19 @@ my $load_file = $bootpath . "/config.boot";
my $url_tmp_file = $bootpath . "/config.boot.$$";
+#
+# Note: to get merge to work on arbitrary nodes
+# within the configuration multinodes need to be escaped.
+# i.e.:
+# load --merge='load-balancing/wan/interface-health\ eth0'
+#
+# will start loading of the configuration node from:
+#
+# load-balancing/wan/interface-health:eth0
+#
+# Note current loading is limited to first new
+# multinode.
+#
sub usage() {
print "Usage: $0 --merge=<root>\n";
exit 0;