Use a rules.xml and remove Partitioning from the autoinst.xml and create classes
hth
Hajo
NOT TESTEST
$ cat rules.xml
<?xml version="1.0"?>
<!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/rules.dtd">
<autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<rules config:type="list">
<rule>
<custom1>
<script>
<![CDATA[
#!/bin/sh
mem=$( cat /proc/meminfo | grep -i memtotal | awk '{ print $2 } ' } # Output is in kbytes
echo -n $mem
]]>
</script>
<match>499999</match>