summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/commands/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb
index 12d6b49d..ecd11f5e 100644
--- a/lib/leap_cli/commands/node.rb
+++ b/lib/leap_cli/commands/node.rb
@@ -93,7 +93,7 @@ module LeapCli; module Commands
def seed_node_data(node, args)
args.each do |seed|
- key, value = seed.split(':')
+ key, value = seed.split(':', 2)
value = format_seed_value(value)
assert! key =~ /^[0-9a-z\._]+$/, "illegal characters used in property '#{key}'"
if key =~ /\./
@@ -162,4 +162,4 @@ module LeapCli; module Commands
end
end
-end; end \ No newline at end of file
+end; end