summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/leap_cli/config/manager.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb
index b1ea68c..6a7c1e9 100644
--- a/lib/leap_cli/config/manager.rb
+++ b/lib/leap_cli/config/manager.rb
@@ -32,7 +32,9 @@ module LeapCli
File.unlink(f)
end
@nodes.each do |name, node|
- File.open("#{dir}/#{name}.#{node.domain_internal}.yaml", 'w') do |f|
+ # not sure if people will approve of this change:
+ # File.open("#{dir}/#{name}.#{node.domain_internal}.yaml", 'w') do |f|
+ File.open("#{dir}/#{name}.yaml", 'w') do |f|
f.write node.to_yaml
end
end