We now have more than one cloud system that is essentially a KVM environment that uses cloud-init to boot, so now we declare that "generic" and have the OpenStack and Oracle images reuse those definitions. Also, in preparation for layered cloud image variants, rename them from "Cloud-" to "Cloud-Base-". Vagrant variants are similarly prefixed to make it clear who provides them. Finally, restructure the layout of the tmt plans to match the description structure.
65 lines
3.0 KiB
XML
65 lines
3.0 KiB
XML
<image>
|
|
<profiles>
|
|
<profile name="VagrantCore" description="Vagrant core packages">
|
|
<requires profile="CloudCore"/>
|
|
</profile>
|
|
<profile name="Cloud-Base-Vagrant-libvirt" description="Vagrant Base guest image for libvirt">
|
|
<requires profile="VagrantCore"/>
|
|
</profile>
|
|
<profile name="Cloud-Base-Vagrant-VirtualBox" description="Vagrant Base guest image for VirtualBox">
|
|
<requires profile="VagrantCore"/>
|
|
</profile>
|
|
</profiles>
|
|
<preferences profiles="Cloud-Base-Vagrant-libvirt">
|
|
<type image="oem" filesystem="btrfs" kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi" format="vagrant" fsmountoptions="compress=zstd:1" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" rootfs_label="fedora">
|
|
<bootloader name="grub2" console="serial" timeout="1"/>
|
|
<size unit="G">5</size>
|
|
<vagrantconfig provider="libvirt" virtualsize="5"/>
|
|
<systemdisk>
|
|
<volume name="@root=root"/>
|
|
<volume name="home" parent="/"/>
|
|
<volume name="var" parent="/"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="Cloud-Base-Vagrant-VirtualBox">
|
|
<type image="oem" filesystem="btrfs" kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" devicepersistency="by-uuid" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi" format="vagrant" fsmountoptions="compress=zstd:1" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" rootfs_label="fedora">
|
|
<bootloader name="grub2" console="serial" timeout="1"/>
|
|
<size unit="G">5</size>
|
|
<vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="true" virtualsize="5"/>
|
|
<systemdisk>
|
|
<volume name="@root=root"/>
|
|
<volume name="home" parent="/"/>
|
|
<volume name="var" parent="/"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<users profiles="VagrantCore">
|
|
<!-- Standard password for the vagrant user, used by all images -->
|
|
<user name="vagrant" groups="vagrant" password="vagrant" home="/home/vagrant" pwdformat="plain" />
|
|
<user password="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/root" name="root" groups="root"/>
|
|
</users>
|
|
<packages type="image" patternType="plusRecommended" profiles="VagrantCore">
|
|
<package name="dnf-yum"/>
|
|
<package name="rsync"/>
|
|
<package name="fuse-sshfs"/>
|
|
<package name="gdisk"/>
|
|
<package name="glibc-langpack-en"/>
|
|
</packages>
|
|
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-Vagrant-libvirt">
|
|
<package name="qemu-guest-agent"/>
|
|
</packages>
|
|
<packages type="image" patternType="plusRecommended" profiles="Cloud-Base-Vagrant-VirtualBox">
|
|
<package name="virtualbox-guest-additions"/>
|
|
</packages>
|
|
<packages type="uninstall" profiles="VagrantCore">
|
|
<package name="cloud-init"/>
|
|
</packages>
|
|
</image>
|