createhdds/hdds.json
Lukáš Růžička a01d22f6ef Enable booting the VM as UEFI and provide record for a UEFI machine.
This commit adds support for boot options, that can be passed
from `hdds.json` to control the creation of the virtual
machines, such as enabling of EFI based machines, boot order
control, etc. It also adds EFI based machine to `hdds.json`
and adds a kickstart file for such machine.
2019-11-13 20:19:44 +01:00

199 lines
5.3 KiB
JSON

{
"guestfs" : [
{
"name" : "full",
"size" : "10G",
"labels" : ["mbr", "gpt"],
"parts" : [
{
"filesystem" : "ext4",
"type" : "p",
"start" : "4096",
"end" : "10485760"
},
{
"filesystem" : "ext4",
"type" : "p",
"start" : "10485761",
"end" : "-4097"
}
],
"writes" : [
{
"part" : "1",
"path" : "/testfile",
"content" : "Hello, world!"
},
{
"part" : "2",
"path" : "/testfile",
"content" : "Oh, hi Mark"
}
]
},
{
"name" : "freespace",
"size" : "10G",
"labels" : ["mbr", "gpt"],
"parts" : [
{
"filesystem" : "ext4",
"type" : "p",
"start" : "4096",
"end" : "2097152"
}
],
"writes" : [
{
"part" : "1",
"path" : "/testfile",
"content" : "Hello, world!"
}
]
},
{
"name" : "ks",
"size" : "100M",
"imgver" : "3",
"parts" : [
{
"filesystem" : "ext4",
"type" : "p",
"start" : "4096",
"end" : "-1"
}
],
"uploads" : [
{
"part" : "1",
"target" : "/root-user-crypted-net.ks",
"source" : "root-user-crypted-net.ks"
},
{
"part" : "1",
"target" : "/freeipa.ks",
"source" : "freeipa.ks"
},
{
"part" : "1",
"target" : "/freeipaclient.ks",
"source" : "freeipaclient.ks"
}
]
},
{
"name" : "updates_img",
"size" : "100M",
"imgver" : "2",
"parts" : [
{
"filesystem" : "ext4",
"label" : "UPDATES_IMG",
"type" : "p",
"start" : "4096",
"end" : "-1"
}
],
"uploads" : [
{
"part" : "1",
"target" : "/updates.img",
"source" : "updates.img"
}
]
},
{
"name" : "shrink",
"size" : "10G",
"labels" : ["mbr"],
"filesystems" : ["ext4", "ntfs"],
"parts" : [
{
"type" : "p",
"start" : "4096",
"end" : "-4097"
}
],
"writes" : [
{
"part" : "1",
"path" : "/testfile",
"content" : "Hello, world!"
}
]
}
],
"virtinstall" : [
{
"name" : "minimal",
"releases" : {
"-1" : ["x86_64", "ppc64le", "aarch64"],
"-2" : ["x86_64", "ppc64le", "aarch64"],
"stable": ["x86_64"],
"branched": ["x86_64"]
},
"size" : "20",
"imgver": "3"
},
{
"name" : "minimal-uefi",
"releases" : {
"-1" : ["x86_64"],
"-2" : ["x86_64"],
"stable": ["x86_64"],
"branched": ["x86_64"]
},
"size" : "20",
"imgver": "3",
"bootopts": "uefi"
},
{
"name" : "desktop",
"releases" : {
"stable" : ["x86_64", "i686"],
"branched": ["x86_64"]
},
"size" : "20",
"imgver": "4",
"variant": "Workstation"
},
{
"name" : "desktopencrypt",
"releases" : {
"stable" : ["x86_64"],
"branched" : ["x86_64"]
},
"size" : "20",
"variant": "Workstation"
},
{
"name" : "server",
"releases" : {
"stable" : ["x86_64", "ppc64le", "aarch64"],
"branched": ["x86_64", "ppc64le", "aarch64"]
},
"size" : "6",
"imgver": "3",
"variant": "Server"
},
{
"name" : "kde",
"releases" : {
"-1" : ["x86_64"],
"-2" : ["x86_64"]
},
"size" : "20",
"imgver": "3"
},
{
"name" : "support",
"releases" : {
"current" : ["x86_64", "ppc64le", "aarch64"]
},
"size" : "11",
"imgver" : "5"
}
],
"renames" : []
}