# File lib/aeolus_image/model/warehouse_model.rb, line 107
        def load_config
          # TODO - Is this always the case? We should probably have /etc/aeolus-cli or something too?
          # Or allow Rails to override this
          @config_location ||= "~/.aeolus-cli"
          begin
            file_str = read_file(@config_location)
            if is_file?(@config_location) && !file_str.include?(":url")
              lines = File.readlines(File.expand_path(@config_location)).map do |line|
                "#" + line
              end
              File.open(File.expand_path(@config_location), 'w') do |file|
                file.puts lines
              end
              write_file
            end
            write_file unless is_file?(@config_location)
            YAML::load(File.open(File.expand_path(@config_location)))
          rescue Errno::ENOENT
            #TODO: Create a custom exception to wrap CLI Exceptions
            raise "Unable to locate or write configuration file: \"" + @config_location + "\""
          end
        end