@ -1009,6 +1009,8 @@ class VariableOsLocationDest(LocationHelper, Variable):
def check ( self , value ) :
def check ( self , value ) :
""" Check set location source """
""" Check set location source """
if self . Get ( ' cl_autopartition_set ' ) == " on " :
return
################################
################################
# check size for root device
# check size for root device
################################
################################
@ -1947,6 +1949,8 @@ class VariableOsInstallMbr(LocationHelper, Variable):
return filter ( lambda x : x != " off " , value )
return filter ( lambda x : x != " off " , value )
def check ( self , value ) :
def check ( self , value ) :
if self . Get ( ' cl_autopartition_set ' ) == " on " :
return
rootType = self . Get ( ' os_install_root_type ' )
rootType = self . Get ( ' os_install_root_type ' )
if rootType == " flash " :
if rootType == " flash " :
if len ( value ) > 1 :
if len ( value ) > 1 :