Skip to content

Commit

Permalink
quattor/server/config: enable tftpd service on EL9
Browse files Browse the repository at this point in the history
  • Loading branch information
jouvin committed Dec 17, 2024
1 parent 5f34fc4 commit 0841f16
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion quattor/aii/server/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,23 @@ variable AII_DHCP_DHCPD_CONF_FILE ?= '/etc/dhcpd.conf';

include 'components/aiiserver/config';

# aii-shellfe configuration
# Enable tftpd (on EL9 only for backward compatibility)
include 'components/systemd/config';
'/software/components/systemd/unit/tftp' = {
if ( OS_VERSION_PARAMS['majorversion'] >= '9' ) {
SELF['type'] = 'socket';
SELF['state'] = 'enabled';
SELF['startstop'] = true;
};

if ( is_defined(SELF) ) {
SELF;
} else {
null;
};
};

# aii-shellfe configuration

prefix '/software/components/aiiserver/aii-shellfe';

Expand Down

0 comments on commit 0841f16

Please sign in to comment.