lib/gogetit/config.rb in gogetit-0.18.0 vs lib/gogetit/config.rb in gogetit-0.18.1

- old
+ new

@@ -58,10 +58,12 @@ src = File.new(lib_dir + '/sample_conf/gogetit.yml') dst = Dir.new(user_gogetit_home) logger.info('Copying GoGetIt default configuration..') FileUtils.cp(src, dst) abort( - 'Please define default configuration for GoGetIt at ~/.gogetit/gogetit.yml.' +%q{Please define default configuration for GoGetIt at ~/.gogetit/gogetit.yml. +Or you can run this command below on the previous workstation to copy existing configurations. +scp -r ~/.gogetit ubuntu@#{`hostname -f`.chop!}:~/} ) end config.merge!(Hashie.symbolize_keys YAML.load_file(conf_file)) # to check if lxd is well deployed and configured.