Skip to content

Commit e3e59e9

Browse files
committed
quattor/server/config: enable tftpd service on EL9
1 parent 5f34fc4 commit e3e59e9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

quattor/aii/server/config.pan

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ variable AII_DHCP_DHCPD_CONF_FILE ?= '/etc/dhcpd.conf';
1111

1212
include 'components/aiiserver/config';
1313

14-
# aii-shellfe configuration
14+
# Enable tftpd (on EL9 only for backward compatibility)
15+
include 'components/systemd/config';
16+
'/software/components/systemd/unit/tftp' = {
17+
if ( OS_VERSION_PARAMS['majorversion'] >= '9' ) {
18+
SELF['type'] = 'socket';
19+
SELF['state'] = 'enabled';
20+
SELF['startstop'] = true;
21+
};
22+
SELF;
23+
};
1524

25+
# aii-shellfe configuration
1626

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

0 commit comments

Comments
 (0)