I don't know whether this is a bug in curtin or whatever is generating the config. Curtin tries to add a swapfile by default but it's easy to disable. Subiquity currently disables the swapfile if a swap partition is mounted or if / is on btrfs (subiquity doesn't let you format as ext2). Where should the logic of which filesystems support swapfiles live?
I don't know whether this is a bug in curtin or whatever is generating the config. Curtin tries to add a swapfile by default but it's easy to disable. Subiquity currently disables the swapfile if a swap partition is mounted or if / is on btrfs (subiquity doesn't let you format as ext2). Where should the logic of which filesystems support swapfiles live?