# File lib/genomed.rb, line 161
    def create
      @old_dir = "/etc/genome/nodes/#{input.old_fqdn}"
      @new_dir = "/etc/genome/nodes/#{input.new_fqdn}"
      if File.exist?(@old_dir) and File.stat(@old_dir).directory?
        File.rename(@old_dir, @new_dir)
        machine_config = YAML.load("#{@new_dir}/node.yaml")
        cloud = cloudmaster(machine_config["parameters"]["cloudmaster"])
        cloud.update_nodename(input.old_fqdn, input.new_fqdn)
        @status = 200
      else
        @status = 500
      end
      render :view_update_fqdn
    end