1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
|
<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="8.3" name="LimeJeOS" displayname="Bob">
<drivers>
<file name="crypto/*"/>
<file name="drivers/acpi/*"/>
<file name="bar"/>
</drivers>
<strip type="delete">
<file name="del-a"/>
<file name="del-b"/>
</strip>
<strip type="tools">
<file name="tool-a"/>
<file name="tool-b"/>
</strip>
<strip type="libs">
<file name="lib-a"/>
<file name="lib-b"/>
</strip>
<description type="system">
<author>Marcus</author>
<contact>ms@suse.com</contact>
<specification>
Testing various configuration states
</specification>
</description>
<profiles>
<profile name="xenDom0Flavour" description="Disk Dom0"/>
<profile name="xenDomUFlavour" description="Disk DomU"/>
<profile name="ec2Flavour" description="Disk EC2"/>
<profile name="vmxFlavour" description="Disk" import="true" arch="x86_64,s390"/>
<profile name="vmxSimpleFlavour" description="Disk no resize"/>
<profile name="containerFlavour" description="Container image"/>
<profile name="derivedContainer" description="Container from a base"/>
<profile name="composedProfile" description="Composed profile">
<requires profile="vmxSimpleFlavour"/>
<requires profile="xenDomUFlavour"/>
</profile>
</profiles>
<preferences>
<locale>en_US,de_DE</locale>
<rpm-locale-filtering>true</rpm-locale-filtering>
<release-version>15.3</release-version>
</preferences>
<preferences>
<version>1.13.2</version>
<packagemanager>zypper</packagemanager>
<locale>en_US</locale>
<keytable>us.map.gz</keytable>
<timezone>Europe/Berlin</timezone>
<rpm-excludedocs>true</rpm-excludedocs>
<rpm-check-signatures>true</rpm-check-signatures>
<bootsplash-theme>openSUSE</bootsplash-theme>
<bootloader-theme>openSUSE</bootloader-theme>
</preferences>
<preferences arch="aarch64">
<type image="iso" firmware="efi"/>
</preferences>
<preferences profiles="vmxFlavour">
<type image="oem" primary="true" boot="oemboot/example-distribution" firmware="efi" kernelcmdline="splash" vga="0x303" editbootconfig="my_edit_boot_script" editbootinstall="/absolute/path/to/my_edit_boot_install" fsmountoptions="async" fscreateoptions="-O ^has_journal" spare_part="200M" spare_part_fs_attributes="no-copy-on-write" xen_server="true" formatoptions="force_size,super=man" filesystem="ext4" installiso="true" luks="linux" luks_version="luks2" luks_pbkdf="pbkdf2" btrfs_root_is_snapper_snapshot="true">
<luksformat>
<option name="--cipher" value="aes-gcm-random"/>
<option name="--integrity" value="aead"/>
</luksformat>
<size unit="G" additive="true">1</size>
<systemdisk name="mydisk"/>
<machine memory="512" xen_loader="hvmloader">
<vmdisk id="0" device="/dev/xvda" controller="ide"/>
<vmnic interface=""/>
<vmdvd id="0" controller="scsi"/>
</machine>
<oemconfig>
<oem-systemsize>2048</oem-systemsize>
<oem-swap>true</oem-swap>
<oem-swapsize>42</oem-swapsize>
<oem-swapname>swap</oem-swapname>
<oem-recovery>false</oem-recovery>
</oemconfig>
<vagrantconfig provider="libvirt" virtualsize="42"/>
<installmedia>
<initrd action="add">
<dracut module="network-legacy"/>
<dracut driver="erofs"/>
</initrd>
</installmedia>
</type>
</preferences>
<preferences profiles="ec2Flavour">
<type image="oem" filesystem="ext3" bootprofile="ec2" bootkernel="ec2k" kernelcmdline="xencons=xvc0 console=xvc0 multipath=off splash" firmware="ec2">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
</type>
</preferences>
<preferences profiles="xenDomUFlavour">
<type image="oem" filesystem="ext3" bootprofile="xen" bootkernel="xenk" kernelcmdline="splash">
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<machine memory="512" xen_loader="hvmloader">
<vmdisk id="0" device="/dev/xvda" controller="ide"/>
<vmnic interface=""/>
</machine>
<size>10</size>
</type>
</preferences>
<preferences profiles="xenDom0Flavour">
<type image="oem" filesystem="ext3" boot="oemboot/example-distribution" bootprofile="xen" bootkernel="xenk" installiso="true" kernelcmdline="splash">
<oemconfig>
<oem-systemsize>2048</oem-systemsize>
<oem-swap>true</oem-swap>
</oemconfig>
</type>
<type image="docker"/>
</preferences>
<preferences profiles="vmxSimpleFlavour">
<type image="oem" filesystem="ext3" format="vmdk" kernelcmdline="splash" bootpartition="false">
<bootloader name="grub2">
<bootloadersettings>
<shimoption name="--foo" value="bar"/>
<shimoption name="--suse-we-adapt-you-succeed"/>
<installoption name="--A" value="123"/>
<installoption name="B"/>
<configoption name="--joe"/>
<configoption name="-x"/>
</bootloadersettings>
</bootloader>
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
<size unit="G" unpartitioned="1">4</size>
<systemdisk name="systemVG"/>
<machine memory="512" guestOS="suse" HWversion="4">
<vmdisk id="0" controller="ide"/>
<vmnic driver="e1000" interface="0" mode="bridged"/>
<vmconfig-entry>numvcpus = "4"</vmconfig-entry>
<vmconfig-entry>cpuid.coresPerSocket = "2"</vmconfig-entry>
</machine>
<initrd action="setup">
<dracut uefi="true"/>
</initrd>
<initrd action="add">
<dracut module="some"/>
<dracut driver="driver"/>
</initrd>
</type>
<type image="iso" mediacheck="true"/>
</preferences>
<preferences profiles="containerFlavour">
<type image="docker">
<containerconfig name="container_name" maintainer="tux" user="root" workingdir="/root" tag="container_tag" additionalnames="current,foobar">
<entrypoint execute="/bin/bash">
<argument name="-x"/>
</entrypoint>
<subcommand execute="ls">
<argument name="-l"/>
</subcommand>
<expose>
<port number="80"/>
<port number="8080"/>
</expose>
<volumes>
<volume name="/tmp"/>
<volume name="/var/log"/>
</volumes>
<stopsignal>SIGINT</stopsignal>
<environment>
<env name="PATH" value="/bin:/usr/bin:/home/user/bin"/>
<env name="SOMEVAR" value="somevalue"/>
</environment>
<labels>
<label name="somelabel" value="labelvalue"/>
<label name="someotherlabel" value="anotherlabelvalue"/>
</labels>
<history author="history author" created_by="created by text" application_id="123" launcher="app" package_version="2003.12.0.0">This is a comment</history>
</containerconfig>
</type>
</preferences>
<preferences profiles="derivedContainer">
<type image="docker" derived_from="obs://project/repo/image#mytag">
<containerconfig name="container_name" maintainer="tux" user="root" workingdir="/root" tag="container_tag">
<entrypoint clear="true"/>
<subcommand clear="true"/>
</containerconfig>
</type>
</preferences>
<users>
<user pwdformat="plain" password="mypwd" shell="/bin/bash" id="815" realname="Bob" home="/root" name="root"/>
<user groups="users" pwdformat="plain" password="mypwd" home="/home/tux" name="tux"/>
<user groups="kiwi,admin:42,users" pwdformat="plain" password="mypwd" name="kiwi"/>
</users>
<containers source="registry.suse.com" backend="podman">
<container name="rmtserver" tag="latest" path="home/mschaefer/images_pubcloud/pct"/>
</containers>
<containers source="registry.suse.com" backend="docker">
<container name="some"/>
</containers>
<containers source="docker.io" backend="podman">
<container name="foo" fetch_only="true"/>
</containers>
<containers source="registry.example.com" backend="container-snap">
<container name="test-app" tag="v1.0"/>
</containers>
<repository priority="42" sourcetype="baseurl">
<source path="iso:///image/CDs/dvd.iso">
<signing key="file:key_a"/>
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary"/>
<signing key="file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-${releasever}-primary"/>
</source>
</repository>
<repository type="rpm-md" imageinclude="true" customize="script">
<source path="obs://Devel:PubCloud:AmazonEC2/SLE_12_GA"/>
</repository>
<repository type="rpm-md" imageonly="true">
<source path="obs://Devel:Docker:Images:SLE12SP2/SLE_12_SP2_Docker">
<signing key="file:key_b"/>
</source>
</repository>
<packages type="image" patternType="plusRecommended">
<namedCollection name="base"/>
<namedCollection name="base_for_arch" arch="s390,aarch64"/>
<product name="openSUSE"/>
<package name="plymouth-branding-openSUSE" bootinclude="true"/>
<package name="grub2-branding-openSUSE" bootinclude="true"/>
<package name="ifplugd"/>
<package name="iputils"/>
<package name="vim" bootdelete="true"/>
<package name="openssh"/>
<archive name="/absolute/path/to/image.tgz" bootinclude="true"/>
<package name="foo" arch="s390,aarch64"/>
<file name="some"/>
<file name="/absolute/path/to/some" owner="bob:users" permissions="u+x"/>
</packages>
<packages type="iso">
<package name="gfxboot-branding-openSUSE" bootinclude="true" bootdelete="true"/>
</packages>
<packages type="oem">
<package name="gfxboot-branding-openSUSE" bootinclude="true" bootdelete="true"/>
</packages>
<packages type="image" profiles="ec2Flavour">
<package name="kernel-ec2"/>
<package name="xen-tools" arch="x86_64"/>
<package name="xen" arch="x86_64"/>
</packages>
<packages type="image" profiles="xenDom0Flavour,xenDomUFlavour">
<package name="kernel-xen"/>
<package name="xen-tools" arch="x86_64"/>
<package name="xen" arch="x86_64"/>
</packages>
<packages type="image" profiles="vmxFlavour">
<package name="kernel-default"/>
<ignore name="foo" arch="x86_64,aarch64"/>
<ignore name="bar" arch="x86_64"/>
<ignore name="baz"/>
</packages>
<packages type="bootstrap">
<collectionModule name="mod_a" stream="stream" enable="true"/>
<collectionModule name="mod_b" enable="true"/>
<collectionModule name="mod_c" enable="false"/>
<package name="filesystem"/>
<namedCollection name="bootstrap-collection"/>
<product name="kiwi"/>
<archive name="bootstrap.tgz"/>
<file name="some" target="/some/target"/>
<ignore name="some"/>
</packages>
<packages type="delete">
<package name="kernel-debug"/>
</packages>
<packages type="uninstall">
<package name="shadow"/>
</packages>
<packages type="systemfiles">
<ignore name="zypp"/>
<ignore name="yast"/>
<ignore name="rpm"/>
</packages>
</image>
|