Hi community,
I’m using autoyast to perform an auto installation of tumbleweed on a laptop with 16 gigs of RAM using an existing manual install as a template.
As seen in the code snippet form the autoinst.xml file posted below, I have configured the partitioning for boot/efi to auto, swap to auto and root as max.
The problem is that during installation yast sets the SWAP to 1 gig instead of 16.
Anyone know how to fix this? I can’t resort to hardcoding the SWAP as i’ll use this autoyast config on laptops with various RAM sized.
I have attached images with the desired disk partitioning I’m trying to emulate with autoyast.
<partitioning config:type="list">
<drive>
<device>/dev/system</device>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<lv_name>swap</lv_name>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>auto</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">true</format>
<lv_name>root</lv_name>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>max</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
</partitions>
<pesize>auto</pesize>
<type config:type="symbol">CT_LVM</type>
</drive>
<drive>
<device>/dev/nvme0n1</device>
<disklabel>gpt</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">vfat</filesystem>
<format config:type="boolean">true</format>
<mount>/boot/efi</mount>
<mountby config:type="symbol">uuid</mountby>
<partition_id config:type="integer">259</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<size>auto</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">true</crypt_fs>
<crypt_key>justatest</crypt_key>
<format config:type="boolean">true</format>
<loop_fs config:type="boolean">true</loop_fs>
<lvm_group>system</lvm_group>
<partition_id config:type="integer">142</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<resize config:type="boolean">false</resize>
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
</partitioning>