Revision b6023d6c lib/cmdlib.py

b/lib/cmdlib.py
4490 4490
                                 self.op.target_node)
4491 4491
    self.op.target_node = self.dst_node.name
4492 4492

  
4493
    # instance disk type verification
4494
    for disk in self.instance.disks:
4495
      if disk.dev_type == constants.LD_FILE:
4496
        raise errors.OpPrereqError("Export not supported for instances with"
4497
                                   " file-based disks")
4498

  
4493 4499
  def Exec(self, feedback_fn):
4494 4500
    """Export an instance to an image in the cluster.
4495 4501

  

Also available in: Unified diff