Make the 1699099 workaround not assert_script_run

File doesn't exist for ostree installs. No point failing if this
fails, we may as well just continue and see what happens.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-04-13 08:40:57 -07:00
parent 33dd7ded6b
commit a9c6e69689

View File

@ -137,7 +137,7 @@ sub run {
# remove when fixed
$self->root_console(timeout=>30);
console_loadkeys_us;
assert_script_run 'sed -i -e "s,SELINUX=enforcing,SELINUX=permissive,g" /mnt/sysimage/etc/selinux/config';
script_run 'sed -i -e "s,SELINUX=enforcing,SELINUX=permissive,g" /mnt/sysimage/etc/selinux/config';
type_string "reboot\n" unless (get_var("LIVE"));
}
else {