Comment 1 for bug 1989977

Revision history for this message
Olivier Gayot (ogayot) wrote :

Pasting the config that we expect Subiquity to accept once it is fixed ; just in case the pastebin expires. Source: https://pastebin.ubuntu.com/p/HXrkFCZB8p/

storage:
      config:
        - type: disk
          ptable: msdos
          wipe: superblock-recursive
          path: /dev/vda
          grub_device: true
          id: disk-1

        - type: partition
          number: 1
          flag: boot
          device: disk-1
          size: 1G
          wipe: superblock
          id: partition-boot
        - type: format
          fstype: ext4
          volume: partition-boot
          id: format-boot
        - type: mount
          path: /boot
          device: format-boot
          id: mount-boot

        - type: partition
          number: 2
          device: disk-1
          size: 20G
          wipe: superblock
          id: partition-root
        - type: format
          fstype: ext4
          volume: partition-root
          id: format-root
        - type: mount
          path: /
          device: format-root
          id: mount-root

        - type: partition
          number: 3
          device: disk-1
          size: 16G
          wipe: superblock
          id: partition-swap
        - type: format
          fstype: swap
          volume: partition-swap
          id: format-swap
        - type: mount
          path: "none"
          device: format-swap
          id: mount-swap

        - type: partition
          number: 4
          device: disk-1
          wipe: superblock
          id: partition-extended
          flag: extended
          size: -1

        - type: partition
          device: disk-1
          size: 5G
          wipe: superblock
          id: partition-tmp
          flag: logical
        - type: format
          fstype: ext4
          volume: partition-tmp
          id: format-tmp
        - type: mount
          path: /tmp
          device: format-tmp
          id: mount-tmp

        - type: partition
          device: disk-1
          size: 16G
          wipe: superblock
          id: partition-var
          flag: logical
        - type: format
          fstype: ext4
          volume: partition-var
          id: format-var
        - type: mount
          path: /var
          device: format-var
          id: mount-var

        - type: partition
          device: disk-1
          # fill rest of disk
          size: -1
          wipe: superblock
          id: partition-home
          flag: logical
        - type: format
          fstype: ext4
          volume: partition-home
          id: format-home
        - type: mount
          path: /home
          device: format-home
          id: mount-home