This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-network_interfaces
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
remove persistent net-rules configuration
netifs
Markus Katharina Brechtel
7 years ago
parent
0bf4a8c5d1
commit
0a9a0572fa
2 changed files
with
0 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
tasks/main.yml
+0
-3
templates/persistent-net.rules.j2
+ 0
- 4
tasks/main.yml
View File
@@ -5,7 +5,3 @@
src: network-interfaces.j2
dest: "{{ root_target_directory | default('') }}/etc/network/interfaces"
#- name: persistent net rules
# template:
# src: persistent-net.rules.j2
# dest: "{{ network_interfaces_target }}/etc/udev/rules.d/z25_persistent-net.rules"
+ 0
- 3
templates/persistent-net.rules.j2
View File
@@ -1,3 +0,0 @@
{% for netif in network_interfaces %}
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="{{ netif.mac_address }}", ATTR{type}=="1", KERNEL=="eth*", NAME="{{ netif.device }}"
{% endfor %}
Write
Preview
Loading…
Cancel
Save