|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | - |
| 2 | +<!-- OBS-Profiles: @BUILD_FLAVOR@ --> |
3 | 3 | <image schemaversion="7.5" name="kiwi-test-image-disk"> |
4 | 4 | <description type="system"> |
5 | 5 | <author>Marcus Schäfer</author> |
6 | 6 | < contact> [email protected]</ contact> |
7 | 7 | <specification>Disk test build</specification> |
8 | 8 | </description> |
| 9 | + <profiles> |
| 10 | + <profile name="Standard" description="Standard Disk"/> |
| 11 | + <profile name="Retain" description="Retain Last Partition"/> |
| 12 | + </profiles> |
9 | 13 | <preferences> |
10 | 14 | <version>1.42.1</version> |
11 | 15 | <packagemanager>zypper</packagemanager> |
|
16 | 20 | <rpm-check-signatures>false</rpm-check-signatures> |
17 | 21 | <bootsplash-theme>breeze</bootsplash-theme> |
18 | 22 | <bootloader-theme>openSUSE</bootloader-theme> |
| 23 | + </preferences> |
| 24 | + <preferences profiles="Standard"> |
19 | 25 | <type image="oem" filesystem="btrfs" kernelcmdline="console=ttyS0" firmware="efi" installiso="true" bootpartition="false" btrfs_root_is_snapshot="true" installboot="install"> |
20 | 26 | <bootloader name="grub2" console="serial" timeout="10"/> |
21 | 27 | <oemconfig> |
22 | 28 | <oem-unattended>true</oem-unattended> |
| 29 | + <oem-swap>true</oem-swap> |
23 | 30 | <oem-swapsize>1024</oem-swapsize> |
24 | 31 | <oem-multipath-scan>false</oem-multipath-scan> |
25 | 32 | </oemconfig> |
|
28 | 35 | </systemdisk> |
29 | 36 | </type> |
30 | 37 | </preferences> |
| 38 | + <preferences profiles="Retain"> |
| 39 | + <type image="oem" filesystem="btrfs" kernelcmdline="console=ttyS0 rd.kiwi.install.systemsize=all rd.kiwi.install.retain_last" firmware="efi" installiso="true" bootpartition="false" btrfs_root_is_snapshot="true" installboot="install" spare_part="0" spare_part_fs="ext4" spare_part_mountpoint="/home" spare_part_is_last="true"> |
| 40 | + <bootloader name="grub2" console="serial" timeout="10"/> |
| 41 | + <oemconfig> |
| 42 | + <oem-unattended>true</oem-unattended> |
| 43 | + <oem-swap>true</oem-swap> |
| 44 | + <oem-swapsize>512</oem-swapsize> |
| 45 | + <!-- set root partition to a fixed value to keep address consistent --> |
| 46 | + <oem-systemsize>2048</oem-systemsize> |
| 47 | + <oem-multipath-scan>false</oem-multipath-scan> |
| 48 | + <oem-resize>true</oem-resize> |
| 49 | + </oemconfig> |
| 50 | + <systemdisk> |
| 51 | + <volume name="root"/> |
| 52 | + </systemdisk> |
| 53 | + <!-- whole disk must be big enough for fixed root + other --> |
| 54 | + <size unit="G">3</size> |
| 55 | + </type> |
| 56 | + </preferences> |
31 | 57 | <users> |
32 | 58 | <user password="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/root" name="root" groups="root"/> |
| 59 | + <user password="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/home/test-user" name="test-user" groups="users"/> |
33 | 60 | </users> |
34 | 61 | <repository type="rpm-md"> |
35 | 62 | <source path="obsrepositories:/"/> |
|
0 commit comments