mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-21 13:47:49 +00:00
a6daec2a45
Ref #24
16 lines
402 B
Bash
16 lines
402 B
Bash
# Add extensions
|
|
|
|
set -x
|
|
|
|
# change tcedir to harddisk
|
|
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.bak
|
|
ln -s /mnt/sda1/tce /etc/sysconfig/tcedir
|
|
rm -rf /usr/local/tce.installed/*
|
|
|
|
tce-load -wi ipv6-`uname -r` iptables iproute2
|
|
|
|
|
|
echo "modprobe ipv6" >> /opt/bootlocal.sh
|
|
echo "sysctl -w net.ipv4.ip_forward=1" >> /opt/bootlocal.sh
|
|
echo "sysctl -w net.ipv6.conf.all.forwarding=1" >> /opt/bootlocal.sh
|