# File lib/fog/libvirt/models/compute/server.rb, line 125 def validate_template_options unless self.network_interface_type.nil? raise Fog::Errors::Error.new("#{self.network_interface_type} is not a supported interface type") unless ["nat", "bridge"].include?(self.network_interface_type) end end