Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4f3c19c3
authored
Sep 01, 2015
by
Dóbé Péter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dhcpd fail on reboot
parent
2785a7a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
salt/network/files/fix_dhcp_Debian.conf
+10
-0
salt/network/init.sls
+10
-0
No files found.
salt/network/files/fix_dhcp_Debian.conf
0 → 100644
View file @
4f3c19c3
# systemd service file extras added by CIRCLE Salt installer:
# openvswitch and virtual network interface must be up before
# dhcpd is started
[
Unit
]
After
=
openvswitch
-
switch
.
service
[
Service
]
ExecStartPre
=-/
sbin
/
ifup
vm
{
# TODO: change 'vm' to pillar['fwdriver']['vm_if'] ? #}
{
# TODO: similar patch for firewall.service ? #}
salt/network/init.sls
View file @
4f3c19c3
...
...
@@ -49,3 +49,13 @@ isc-dhcp-server:
- enable: True
- reload: True
{% if grains['os'] == 'Debian' %}
{# For next reboot #}
/etc/systemd/system/isc-dhcp-server.service.d/after_openvswitch.conf:
file.managed:
- source: salt://network/files/fix_dhcp_Debian.conf
- user: root
- group: root
- template: jinja
- makedirs: True
{% endif %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment