Skip to content

Commit 4df9dbc

Browse files
liulanzelanzeliu
andauthored
minimal-os image definition. (#10520)
Co-authored-by: lanzeliu <lanzeliu@microsoft.com>
1 parent ec91650 commit 4df9dbc

2 files changed

Lines changed: 91 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"Disks": [
3+
{
4+
"PartitionTableType": "gpt",
5+
"MaxSize": 500,
6+
"Artifacts": [
7+
{
8+
"Name": "minimal-os",
9+
"Type": "vhdx"
10+
}
11+
],
12+
"Partitions": [
13+
{
14+
"ID": "boot",
15+
"Flags": [
16+
"esp",
17+
"boot"
18+
],
19+
"Start": 1,
20+
"End": 9,
21+
"FsType": "fat32"
22+
},
23+
{
24+
"ID": "rootfs",
25+
"Start": 9,
26+
"End": 0,
27+
"FsType": "ext4"
28+
}
29+
]
30+
}
31+
],
32+
"SystemConfigs": [
33+
{
34+
"Name": "Standard",
35+
"BootType": "efi",
36+
"PartitionSettings": [
37+
{
38+
"ID": "boot",
39+
"MountPoint": "/boot/efi",
40+
"MountOptions": "umask=0077"
41+
},
42+
{
43+
"ID": "rootfs",
44+
"MountPoint": "/"
45+
}
46+
],
47+
"PackageLists": [
48+
"packagelists/minimal-os-packages.json"
49+
],
50+
"KernelOptions": {
51+
"default": "kernel"
52+
}
53+
}
54+
]
55+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"packages": [
3+
"azurelinux-release",
4+
"azurelinux-repos",
5+
"azurelinux-rpm-macros",
6+
"bash",
7+
"ca-certificates",
8+
"ca-certificates-base",
9+
"dbus",
10+
"dracut-hostonly",
11+
"e2fsprogs",
12+
"filesystem",
13+
"grub2",
14+
"grub2-efi-binary",
15+
"iana-etc",
16+
"initramfs",
17+
"iproute",
18+
"iputils",
19+
"irqbalance",
20+
"ncurses-libs",
21+
"openssl",
22+
"rpm",
23+
"rpm-libs",
24+
"shadow-utils",
25+
"shim",
26+
"sudo",
27+
"systemd",
28+
"systemd-networkd",
29+
"systemd-resolved",
30+
"systemd-udev",
31+
"tdnf",
32+
"tdnf-plugin-repogpgcheck",
33+
"util-linux",
34+
"zlib"
35+
]
36+
}

0 commit comments

Comments
 (0)