Revision cb7c0198 lib/cmdlib.py

b/lib/cmdlib.py
5658 5658
      # TODO: make the ip check more flexible and not depend on the name check
5659 5659
      raise errors.OpPrereqError("Cannot do ip checks without a name check",
5660 5660
                                 errors.ECODE_INVAL)
5661
    if (self.op.disk_template == constants.DT_FILE and
5662
        not constants.ENABLE_FILE_STORAGE):
5663
      raise errors.OpPrereqError("File storage disabled at configure time",
5664
                                 errors.ECODE_INVAL)
5661 5665

  
5662 5666
  def ExpandNames(self):
5663 5667
    """ExpandNames for CreateInstance.

Also available in: Unified diff