|
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> |
| 30 | + <oem-swapsize>1024</oem-swapsize> |
| 31 | + <oem-multipath-scan>false</oem-multipath-scan> |
| 32 | + </oemconfig> |
| 33 | + <systemdisk> |
| 34 | + <volume name="home"/> |
| 35 | + </systemdisk> |
| 36 | + </type> |
| 37 | + </preferences> |
| 38 | + <preferences profiles="Retain"> |
| 39 | + <type image="oem" filesystem="btrfs" kernelcmdline="console=ttyS0 rd.kiwi.install.retain_last" firmware="efi" installiso="true" bootpartition="false" btrfs_root_is_snapshot="true" installboot="install" spare_part="0" 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> |
23 | 44 | <oem-swapsize>1024</oem-swapsize> |
| 45 | + <!-- set root partition to fixed 2048MB --> |
| 46 | + <oem-systemsize>2048</oem-systemsize> |
24 | 47 | <oem-multipath-scan>false</oem-multipath-scan> |
| 48 | + <!-- data part (spare) is last, no auto resize from us --> |
| 49 | + <oem-resize>false</oem-resize> |
25 | 50 | </oemconfig> |
26 | 51 | <systemdisk> |
27 | 52 | <volume name="home"/> |
28 | 53 | </systemdisk> |
| 54 | + <!-- whole disk must be big enough for fixed root + other --> |
| 55 | + <size unit="M">3100</size> |
29 | 56 | </type> |
30 | 57 | </preferences> |
31 | 58 | <users> |
|
0 commit comments