mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-01 18:58:20 +00:00
onlrfs: fix bug of '__rfs__' substitution
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
This commit is contained in:
@@ -503,7 +503,7 @@ rm -f /usr/sbin/policy-rc.d
|
||||
|
||||
for command in Configure.get('commands', []):
|
||||
if '__rfs__' in command:
|
||||
command = command % dict(__rfs__=dir_)
|
||||
command = command.replace('__rfs__', dir_)
|
||||
logger.info("Configuration command '%s'..." % command)
|
||||
onlu.execute(command,
|
||||
ex=OnlRfsError("Command '%s' failed." % command))
|
||||
|
||||
Reference in New Issue
Block a user