mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Use "dnf group install" not "dnf groupinstall" (dnf5 support)
dnf4 and dnf5 both support the former, dnf5 does not support the latter. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
97618193c6
commit
7be16956d7
@ -8,7 +8,7 @@ sub run {
|
||||
# set up appropriate repositories
|
||||
repo_setup();
|
||||
# install X environment
|
||||
assert_script_run "dnf -y groupinstall 'base-x'", 300;
|
||||
assert_script_run "dnf -y group install 'base-x'", 300;
|
||||
# install firefox, plus our basic default fonts to try and avoid
|
||||
# random weird font selection happening
|
||||
assert_script_run "dnf -y install firefox google-noto-sans-vf-fonts google-noto-sans-mono-vf-fonts google-noto-serif-vf-fonts", 180;
|
||||
|
@ -40,7 +40,7 @@ sub run {
|
||||
if (get_var("FREEIPA_REPLICA")) {
|
||||
# here we're enrolling not just as a client, but as a replica
|
||||
# install server packages
|
||||
assert_script_run "dnf -y groupinstall freeipa-server", 600;
|
||||
assert_script_run "dnf -y group install freeipa-server", 600;
|
||||
|
||||
# we need a lot of entropy for this, and we don't care how good
|
||||
# it is, so let's use haveged
|
||||
|
@ -26,7 +26,7 @@ sub run {
|
||||
assert_script_run 'mkdir -p /etc/systemd/system/named-pkcs11.service.d';
|
||||
assert_script_run 'printf "[Service]\nEnvironment=OPTIONS=-d5\n" > /etc/systemd/system/named-pkcs11.service.d/debug.conf';
|
||||
# First install the necessary packages
|
||||
assert_script_run "dnf -y groupinstall freeipa-server", 600;
|
||||
assert_script_run "dnf -y group install freeipa-server", 600;
|
||||
# configure the firewall
|
||||
for my $service (qw(freeipa-ldap freeipa-ldaps dns)) {
|
||||
assert_script_run "firewall-cmd --permanent --add-service $service";
|
||||
|
Loading…
Reference in New Issue
Block a user