gns3-registry/packer/tinycore-linux/scripts/packages.sh

16 lines
402 B
Bash
Raw Normal View History

2015-10-06 12:50:43 +00:00
# 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