rocky-kiwi-descriptions/vagrant/vagrant.xml
2024-11-15 11:10:32 -07:00

132 lines
4.9 KiB
XML

<image>
<profiles>
<profile name="Core-Vagrant" description="Vagrant Core Packages">
<requires profile="Core-Boot"/>
</profile>
<!--
<profile name="Vagrant-Hyperv" description="Vagrant Hyperv Image">
<requires profile="Core-Vagrant"/>
</profile>
-->
<profile name="Vagrant-Libvirt" description="Vagrant Libvirt Image">
<requires profile="Core-Vagrant"/>
</profile>
<profile name="Vagrant-Vbox" description="Vagrant Vbox Image">
<requires profile="Core-Vagrant"/>
</profile>
<profile name="Vagrant-VMware" description="Vagrant VMware Image">
<requires profile="Core-Vagrant"/>
</profile>
</profiles>
<users profiles="Core-Vagrant">
<user name="vagrant" groups="vagrant" password="vagrant" home="/home/vagrant" pwdformat="plain" />
<user name="root" groups="root" password="$5$xyz$DPJRaBL9FrgJhscbvsfpJpNA9c.o4sMBorTsYKIb69." home="/root"/>
</users>
<!--
<preferences profiles="Vagrant-Hyperv" arch="x86_64">
<type image="oem" format="vagrant"
filesystem="xfs"
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="200" firmware="uefi"
kernelcmdline="no_timer_check console=tty0 console=ttyS0,115200n8 biosdevname=0 elevator=noop"
devicepersistency="by-uuid"
rootfs_label="rocky">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<bootloader name="grub2" timeout="1"/>
<size unit="G">10</size>
<vagrantconfig provider="hyperv" virtualsize="5"/>
</type>
</preferences>
-->
<preferences profiles="Vagrant-Libvirt" arch="x86_64,aarch64">
<type image="oem" format="vagrant"
filesystem="xfs"
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="200" firmware="uefi"
kernelcmdline="no_timer_check console=tty0 console=ttyS0,115200n8 biosdevname=0 elevator=noop"
devicepersistency="by-uuid"
rootfs_label="rocky">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<bootloader name="grub2" timeout="1"/>
<size unit="G">10</size>
<vagrantconfig provider="libvirt" virtualsize="5"/>
</type>
</preferences>
<preferences profiles="Vagrant-Vbox" arch="x86_64,aarch64">
<type image="oem" format="vagrant"
filesystem="xfs"
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="200" firmware="uefi"
kernelcmdline="no_timer_check console=tty0 console=ttyS0,115200n8 biosdevname=0 elevator=noop"
devicepersistency="by-uuid"
rootfs_label="rocky">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<bootloader name="grub2" timeout="1"/>
<size unit="G">10</size>
<!-- <vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="true" virtualsize="5"/> -->
<vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="false" virtualsize="5"/>
</type>
</preferences>
<!-- VMware is made as a libvirt image and converted later. This this profile
at your own risk. -->
<preferences profiles="Vagrant-VMware" arch="x86_64,aarch64">
<type image="oem" format="vagrant"
filesystem="xfs"
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="200" firmware="uefi"
kernelcmdline="no_timer_check console=tty0 console=ttyS0,115200n8 biosdevname=0 elevator=noop"
devicepersistency="by-uuid"
rootfs_label="rocky">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<bootloader name="grub2" timeout="1"/>
<size unit="G">10</size>
<vagrantconfig provider="libvirt" virtualsize="5"/>
</type>
</preferences>
<packages type="image" patternType="plusRecommended" profiles="Core-Vagrant">
<namedCollection name="core"/>
<ignore name="dracut-config-rescue"/>
<ignore name="*-firmware"/>
<ignore name="microcode_ctl"/>
<ignore name="plymouth"/>
<package name="bash-completion"/>
<package name="bzip2"/>
<package name="chrony"/>
<package name="cifs-utils"/>
<package name="gdisk"/>
<package name="glibc-langpack-en"/>
<package name="man-pages"/>
<package name="nfs-utils"/>
<package name="open-vm-tools"/>
<package name="rsync"/>
<package name="vim-minimal"/>
<package name="yum-utils"/>
</packages>
<!--
<packages type="image" patternType="plusRecommended" profiles="Vagrant-Hyperv">
<package name="hyperv-daemons"/>
</packages>
-->
<packages type="image" patternType="plusRecommended" profiles="Vagrant-Libvirt">
<package name="hyperv-daemons"/>
<package name="qemu-guest-agent"/>
</packages>
<!-- <packages type="image" patternType="plusRecommended" profiles="Vagrant-Vbox">
<package name="virtualbox-guest-additions"/>
</packages> -->
<!-- Do we need this? I don't see cloud-init in our kickstarts -->
<packages type="uninstall" profiles="Core-Vagrant">
<package name="cloud-init"/>
</packages>
</image>