Project

General

Profile

action #178723

Updated by JERiveraMoya 22 days ago

#### Motivation 
 There is a couple of feature that can be covered in the same scenario. 
 - Disk directly formatted (also called "using the whole disk) or in other words, without involving partitioning. We already covered this when we directly used physical volume but the other possibility is to format directly home. 
 - Configure whether (and where, using an alias) Agama should calculate and create the extra partitions needed for booting. 

 We could combine both in single scenario with a profile which might look like this: 
 ``` 
 { 
     "storage": { 
         "drives": [ 
             { 
                 "search": "/dev/vda", 
                 "filesystem": { 
                     "path": "/home" 
                 } 
             }, 
             { 
                 "search": "/dev/vdb", 
                 "partitions": [ 
                     { 
                         "filesystem": { 
                             "path": "/" 
                         } 
                     } 
                 ] 
             }, 
             { 
                 "search": "/dev/vdc", 
                 "alias": "boot-disk" 
             } 
         ], 
         "boot": { 
             "configure": "true", 
             "device": "boot-disk" 
         } 
     } 
 } 
 ``` 
 I possible name could be this: `sles_use_whole_disk_and_boot_partition` which is "almost" clear. 

 #### Acceptance criteria 
 - **AC1**: Create new test suite to format directly home and configure boot partition in a different disk. 
 - **AC2**: Validation should check that boot is really in a separate partition from root and that /home is not in any partition but in the disk itself.

Back