mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 18:18:32 +00:00
eec1f1ae6e
Assumption createhdds executed on a PowerPC ppc64le host to create the PowerPC specific images. Detect current CPU arch of host machine to create virt-install images only for supported architectures. (hardcoded lists) hdds.json specific changes for PowerPC * no desktop or kde images Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
185 lines
4.9 KiB
JSON
185 lines
4.9 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", "gpt"],
|
|
"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", "ppc64"],
|
|
"-2" : ["x86_64", "ppc64le", "ppc64"]
|
|
},
|
|
"size" : "6",
|
|
"imgver": "2"
|
|
},
|
|
{
|
|
"name" : "desktop",
|
|
"releases" : {
|
|
"stable" : ["x86_64", "i686"],
|
|
"branched": ["x86_64"]
|
|
},
|
|
"size" : "20",
|
|
"imgver": "3",
|
|
"variant": "Workstation"
|
|
},
|
|
{
|
|
"name" : "desktopencrypt",
|
|
"releases" : {
|
|
"-1" : ["x86_64"],
|
|
"-2" : ["x86_64"]
|
|
},
|
|
"size" : "20",
|
|
"variant": "Workstation"
|
|
},
|
|
{
|
|
"name" : "server",
|
|
"releases" : {
|
|
"stable" : ["x86_64", "ppc64le", "ppc64"],
|
|
"branched": ["x86_64", "ppc64le", "ppc64"]
|
|
},
|
|
"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", "ppc64"]
|
|
},
|
|
"size" : "6",
|
|
"imgver" : "3"
|
|
}
|
|
],
|
|
"renames" : []
|
|
}
|