github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/internal/statemachine/testdata/metadata/successful_read.json (about)

     1  {
     2      "CurrentStep": "",
     3      "StepsTaken": 2,
     4      "YamlFilePath": "/tmp/ubuntu-image-2329554237/unpack/gadget/meta/gadget.yaml",
     5      "IsSeeded": true,
     6      "SectorSize": 512,
     7      "RootfsSize": 775915520,
     8      "GadgetInfo": {
     9          "Volumes": {
    10              "pc": {
    11                  "schema": "gpt",
    12                  "bootloader": "grub",
    13                  "id": "",
    14                  "structure": [
    15                      {
    16                          "name": "mbr",
    17                          "filesystem-label": "",
    18                          "offset": 0,
    19                          "offset-write": null,
    20                          "min-size": 440,
    21                          "size": 440,
    22                          "type": "mbr",
    23                          "role": "mbr",
    24                          "id": "",
    25                          "filesystem": "",
    26                          "content": [
    27                              {
    28                                  "source": "",
    29                                  "target": "",
    30                                  "image": "pc-boot.img",
    31                                  "offset": null,
    32                                  "size": 0,
    33                                  "unpack": false
    34                              }
    35                          ],
    36                          "update": {
    37                              "edition": 1,
    38                              "preserve": null
    39                          }
    40                      },
    41                      {
    42                          "name": "BIOS Boot",
    43                          "filesystem-label": "",
    44                          "offset": 1048576,
    45                          "offset-write": null,
    46                          "min-size": 1048576,
    47                          "size": 1048576,
    48                          "type": "21686148-6449-6E6F-744E-656564454649",
    49                          "role": "",
    50                          "id": "",
    51                          "filesystem": "",
    52                          "content": null,
    53                          "update": {
    54                            "edition": 2,
    55                            "preserve": null
    56                          }
    57                        }          
    58                  ]
    59              }
    60          },
    61          "Defaults": null,
    62          "Connections": null,
    63          "KernelCmdline": {
    64              "Allow": null
    65          }
    66      },
    67      "ImageSizes": {
    68          "pc": 3155165184
    69      },
    70      "VolumeOrder": [
    71          "pc"
    72      ],
    73      "VolumeNames": {
    74          "pc": "pc.img"
    75      },
    76      "Packages": [
    77          "nginx",
    78          "apache2"
    79      ],
    80      "Snaps": [
    81          "core",
    82          "lxd"
    83      ]
    84  }