diff --git a/toolkit/imageconfigs/minimal-os.json b/toolkit/imageconfigs/minimal-os.json new file mode 100644 index 00000000000..5ba7b582218 --- /dev/null +++ b/toolkit/imageconfigs/minimal-os.json @@ -0,0 +1,55 @@ +{ + "Disks": [ + { + "PartitionTableType": "gpt", + "MaxSize": 500, + "Artifacts": [ + { + "Name": "minimal-os", + "Type": "vhdx" + } + ], + "Partitions": [ + { + "ID": "boot", + "Flags": [ + "esp", + "boot" + ], + "Start": 1, + "End": 9, + "FsType": "fat32" + }, + { + "ID": "rootfs", + "Start": 9, + "End": 0, + "FsType": "ext4" + } + ] + } + ], + "SystemConfigs": [ + { + "Name": "Standard", + "BootType": "efi", + "PartitionSettings": [ + { + "ID": "boot", + "MountPoint": "/boot/efi", + "MountOptions": "umask=0077" + }, + { + "ID": "rootfs", + "MountPoint": "/" + } + ], + "PackageLists": [ + "packagelists/minimal-os-packages.json" + ], + "KernelOptions": { + "default": "kernel" + } + } + ] +} diff --git a/toolkit/imageconfigs/packagelists/minimal-os-packages.json b/toolkit/imageconfigs/packagelists/minimal-os-packages.json new file mode 100644 index 00000000000..50be8d0ce51 --- /dev/null +++ b/toolkit/imageconfigs/packagelists/minimal-os-packages.json @@ -0,0 +1,36 @@ +{ + "packages": [ + "azurelinux-release", + "azurelinux-repos", + "azurelinux-rpm-macros", + "bash", + "ca-certificates", + "ca-certificates-base", + "dbus", + "dracut-hostonly", + "e2fsprogs", + "filesystem", + "grub2", + "grub2-efi-binary", + "iana-etc", + "initramfs", + "iproute", + "iputils", + "irqbalance", + "ncurses-libs", + "openssl", + "rpm", + "rpm-libs", + "shadow-utils", + "shim", + "sudo", + "systemd", + "systemd-networkd", + "systemd-resolved", + "systemd-udev", + "tdnf", + "tdnf-plugin-repogpgcheck", + "util-linux", + "zlib" + ] +}