forked from os-autoinst/os-autoinst-distri-opensuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unattended installation with ext4 and xfs
Add unattended installation with ext4 and xfs.
- Loading branch information
Showing
11 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
product: { | ||
id: '{{AGAMA_PRODUCT_ID}}', | ||
registrationCode: '{{SCC_REGCODE}}' | ||
}, | ||
user: { | ||
fullName: 'Bernhard M. Wiedemann', | ||
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/', | ||
hashedPassword: true, | ||
userName: 'bernhard' | ||
}, | ||
root: { | ||
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/', | ||
hashedPassword: true | ||
}, | ||
storage: { | ||
drives: [ | ||
{ | ||
partitions: [ | ||
{ generate: 'default' }, | ||
{ filesystem: { path: '/', type: 'ext4' } } | ||
] | ||
} | ||
] | ||
}, | ||
scripts: { | ||
post: [ | ||
{ | ||
name: 'enable root login', | ||
chroot: true, | ||
body: ||| | ||
#!/usr/bin/env bash | ||
echo 'PermitRootLogin yes' > /etc/ssh/sshd_config.d/root.conf | ||
||| | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
product: { | ||
id: '{{AGAMA_PRODUCT_ID}}', | ||
registrationCode: '{{SCC_REGCODE}}' | ||
}, | ||
user: { | ||
fullName: 'Bernhard M. Wiedemann', | ||
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/', | ||
hashedPassword: true, | ||
userName: 'bernhard' | ||
}, | ||
root: { | ||
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/', | ||
hashedPassword: true | ||
}, | ||
storage: { | ||
drives: [ | ||
{ | ||
partitions: [ | ||
{ generate: 'default' }, | ||
{ filesystem: { path: '/', type: 'xfs' } } | ||
] | ||
} | ||
] | ||
}, | ||
scripts: { | ||
post: [ | ||
{ | ||
name: 'enable root login', | ||
chroot: true, | ||
body: ||| | ||
#!/usr/bin/env bash | ||
echo 'PermitRootLogin yes' > /etc/ssh/sshd_config.d/root.conf | ||
||| | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: agama unattended installation with non default root filesystem | ||
description: > | ||
Perform agama unattended installation with non default root filesystem. | ||
schedule: | ||
- yam/agama/boot_agama | ||
- yam/agama/agama_auto | ||
- installation/grub_test | ||
- installation/first_boot | ||
- console/validate_partition_table | ||
- console/validate_blockdevices | ||
- console/validate_free_space | ||
- console/validate_read_write |
14 changes: 14 additions & 0 deletions
14
schedule/yam/agama_non_default_root_filesystem_ppc64le.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: agama unattended installation with non default root filesystem | ||
description: > | ||
Perform agama unattended installation with non default root filesystem. | ||
schedule: | ||
- yam/agama/boot_agama | ||
- yam/agama/patch_agama_tests | ||
- yam/agama/agama | ||
- installation/grub_test | ||
- installation/first_boot | ||
- console/validate_partition_table | ||
- console/validate_blockdevices | ||
- console/validate_free_space | ||
- console/validate_read_write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: agama unattended installation with non default root filesystem | ||
description: > | ||
Perform agama unattended installation with non default root filesystem. | ||
schedule: | ||
- yam/agama/boot_agama | ||
- yam/agama/patch_agama_tests | ||
- yam/agama/agama | ||
- boot/reconnect_mgmt_console | ||
- installation/grub_test | ||
- installation/first_boot | ||
- console/validate_partition_table | ||
- console/validate_blockdevices | ||
- console/validate_free_space | ||
- console/validate_read_write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
disks: | ||
- name: vda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: vda2 | ||
formatting_options: | ||
filesystem: swap | ||
mounting_options: | ||
mount_point: SWAP | ||
- name: vda3 | ||
formatting_options: | ||
filesystem: ext4 | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
disks: | ||
- name: vda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: vda1 | ||
formatting_options: | ||
filesystem: swap | ||
mounting_options: | ||
mount_point: SWAP | ||
- name: vda2 | ||
formatting_options: | ||
filesystem: ext4 | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
disks: | ||
- name: sda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: sda2 | ||
formatting_options: | ||
filesystem: swap | ||
mounting_options: | ||
mount_point: SWAP | ||
- name: sda3 | ||
formatting_options: | ||
filesystem: ext4 | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
disks: | ||
- name: vda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: vda2 | ||
role: swap | ||
partition_type: primary | ||
formatting_options: | ||
should_format: 1 | ||
filesystem: swap | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: SWAP | ||
- name: vda3 | ||
role: operating-system | ||
partition_type: primary | ||
formatting_options: | ||
should_format: 1 | ||
filesystem: xfs | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
disks: | ||
- name: vda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: vda1 | ||
role: swap | ||
partition_type: primary | ||
formatting_options: | ||
should_format: 1 | ||
filesystem: swap | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: SWAP | ||
- name: vda2 | ||
role: operating-system | ||
partition_type: primary | ||
formatting_options: | ||
should_format: 1 | ||
filesystem: xfs | ||
mounting_options: | ||
should_mount: 1 | ||
mount_point: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
guided_partitioning: | ||
filesystem_options: | ||
root_filesystem_type: xfs | ||
disks: | ||
- name: sda | ||
table_type: gpt | ||
allowed_unpartitioned: 0.00GB | ||
partitions: | ||
- name: sda2 | ||
formatting_options: | ||
filesystem: swap | ||
mounting_options: | ||
mount_point: SWAP | ||
- name: sda3 | ||
formatting_options: | ||
filesystem: xfs | ||
mounting_options: | ||
mount_point: / |