Files
Reagan Lopez f61d7092ab Add support for ister json config
- The new -j flag detects ister json config format and converts it to yaml
- The existing -c flag also detects ister json config format, converts it to yaml
  and continues as usual
- Handles the ister "rest" option for physical targets
- Handles multiple targets

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-03-05 13:55:44 -08:00

14 lines
771 B
JSON

{
"DestinationType": "virtual",
"PartitionLayout": [{"disk": "test.img", "partition": 1, "size": "512M", "type": "EFI"},
{"disk": "test.img", "partition": 2, "size": "4G", "type": "swap"},
{"disk": "test.img", "partition": 3, "size": "rest", "type": "linux"}],
"FilesystemTypes": [{"disk": "test.img", "partition": 1, "type": "vfat"},
{"disk": "test.img", "partition": 2, "type": "swap"},
{"disk": "test.img", "partition": 3, "type": "ext4"}],
"PartitionMountPoints": [{"disk": "test.img", "partition": 1, "mount": "/boot"},
{"disk": "test.img", "partition": 3, "mount": "/"}],
"Version": 930,
"Bundles": ["kernel-kvm"]
}