~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/project_calico/ipv6/user-data

  • Committer: MMorana
  • Date: 2016-03-24 01:18:40 UTC
  • Revision ID: mass@ubuntu.com-20160324011840-blxydmf7ca4ggle0
Splitting out demos from install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
echo "iface eth0 inet6 dhcp
4
 
        accept_ra 1" | tee --append /etc/network/interfaces.d/eth0.cfg
5
 
 
6
 
echo "net.ipv6.conf.eth0.router_solicitation_delay = 10" | tee /etc/sysctl.d/30-eth0-rs-delay.conf
7
 
 
8
 
head -13 /sbin/dhclient-script | tee /tmp/dhclient-script
9
 
echo "new_ip6_prefixlen=128" | tee --append /tmp/dhclient-script
10
 
tail -n +14 /sbin/dhclient-script | tee --append /tmp/dhclient-script
11
 
mv /tmp/dhclient-script /sbin/dhclient-script
12
 
 
13