# File lib/genome-lib/lib.rb, line 194
      def initialize(name, repo) 
        @repo = repo

        # If @repo is not an GenomeRepo object, assume it's the
        # fqdn of a repo
        if not @repo.is_a? GenomeLib::Appliances::Genome then
          @repo = GenomeLib::Appliances::Genome.new(@repo)
        end

        @cloud = "http://#{name}/cloud"

        # if not a valid Cloud Appliance, throw exception
        if not valid
          raise InvalidAppliance, "Invalid cloudmaster URL"
        end
      end