mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-29 00:16:30 +00:00
Don't setenforce before chpasswd for root
This shouldn't be needed any more (the referenced bug was fixed in F28) and doesn't work in non-live installer. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
c0bad87836
commit
604a476295
@ -132,8 +132,6 @@ sub run {
|
|||||||
assert_script_run "chroot /mnt/sysimage abrt-auto-reporting 1";
|
assert_script_run "chroot /mnt/sysimage abrt-auto-reporting 1";
|
||||||
}
|
}
|
||||||
if (grep {$_ eq 'rootpw'} @actions) {
|
if (grep {$_ eq 'rootpw'} @actions) {
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1553957
|
|
||||||
assert_script_run "setenforce 0";
|
|
||||||
assert_script_run "echo 'root:$root_password' | chpasswd -R /mnt/sysimage";
|
assert_script_run "echo 'root:$root_password' | chpasswd -R /mnt/sysimage";
|
||||||
}
|
}
|
||||||
type_string "reboot\n" if (grep {$_ eq 'reboot'} @actions);
|
type_string "reboot\n" if (grep {$_ eq 'reboot'} @actions);
|
||||||
|
Loading…
Reference in New Issue
Block a user