diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-27 19:38:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 19:38:53 +0200 |
commit | 536fd31f868a19ccbea72a637cb6b984fa368ce9 (patch) | |
tree | 67f2740ee48df38c8dacbcebdd901af129f4f8a8 /src/conf_mode/dhcp_relay.py | |
parent | 9bdc3dca0d1b2cec3422b08c186af80ac2aa665e (diff) | |
parent | 2bf12b579e083a8b527d3202ced365b8adf32625 (diff) | |
download | vyos-1x-536fd31f868a19ccbea72a637cb6b984fa368ce9.tar.gz vyos-1x-536fd31f868a19ccbea72a637cb6b984fa368ce9.zip |
Merge pull request #381 from thomas-mangin/T2388
template: T2388: move mkdir/chmod/chown within render()
Diffstat (limited to 'src/conf_mode/dhcp_relay.py')
-rwxr-xr-x | src/conf_mode/dhcp_relay.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/conf_mode/dhcp_relay.py b/src/conf_mode/dhcp_relay.py index ce0e01308..d24a46220 100755 --- a/src/conf_mode/dhcp_relay.py +++ b/src/conf_mode/dhcp_relay.py @@ -98,11 +98,6 @@ def generate(relay): if not relay: return None - # Create configuration directory on demand - dirname = os.path.dirname(config_file) - if not os.path.isdir(dirname): - os.mkdir(dirname) - render(config_file, 'dhcp-relay/config.tmpl', relay) return None |