Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ansible/roles/eos/files/rc.eos
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

echo '# Disable IPv6 DAD' >> /etc/sysctl.conf

echo 'net.ipv6.conf.all.accept_dad = 0' >> /etc/sysctl.conf
echo 'net.ipv6.conf.default.accept_dad = 0' >> /etc/sysctl.conf

/sbin/sysctl -p
7 changes: 7 additions & 0 deletions ansible/roles/eos/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
with_items: properties_list
when: hostname in configuration and configuration_properties[item] is defined

- name: copy rc.eos
copy: src=rc.eos
dest=/mnt/flash/rc.eos
when: hostname in configuration
notify:
- Update VM state

- name: copy boot-config
copy: src=boot-config
dest=/mnt/flash/boot-config
Expand Down