Autoyast: Use existing partition table forgets snapshot flag

I’m using autoyast to install openSUSE LEAP 42.3.

Via a rule dialog I can switch between a new installation (creating new partition table) and using the old fstab (see blow).
The root partition is btrfs with snapshots enabled, when created on a new installation.
When I choose to use the old partitons, the filesystem is recognized correctly (btrfs) but the snapshot flag is not set.
Of course I can edit my root partition and set the flag “Enable Snapshots” manually when the final installation settings show up. But that should be done by Autoyast.

Is there any way?

I can only find documentation about the “enable_snapshots” flag for newly created partitons. None is given when using the existing fstab.


  <partitioning_advanced>
    <fstab>
      <!--<root_partition>/dev/sdb1</root_partition>-->
      <use_existing_fstab config:type="boolean">true</use_existing_fstab>
      <partitions config:type="list">
        <partition>
          <format config:type="boolean">true</format>
          <mount>/</mount>
        </partition>
    </fstab>
  </partitioning_advanced>

Did you actually test it? Documentation suggests that snapshots are enabed by default.

Yes, I tested it and it does not work.
The documentation only refers to a newly written partition table. Not when you are using existing partitions.

any idea someone?

I have not used autoyast for a while, but can you choose to reformat the root partition while keeping the partition table?

yes, it’s possible by using the format option:

<partitions config:type="list">
  <partition>
    <format config:type="boolean">true</format>
    <mount>/</mount>
  </partition>
</partitions>