mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-22 06:07:50 +00:00
21 lines
682 B
Bash
21 lines
682 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/*
|
|
|
|
# openssh (optional)
|
|
tce-load -wi openssh
|
|
[ -f /usr/local/etc/ssh/ssh_config.example ] && sudo cp -a /usr/local/etc/ssh/ssh_config.example /usr/local/etc/ssh/ssh_config
|
|
[ -f /usr/local/etc/ssh/sshd_config.example ] && sudo cp -a /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_config
|
|
echo 'usr/local/etc/ssh' >> /opt/.filetool.lst
|
|
echo '/usr/local/etc/init.d/openssh start' >> /opt/bootlocal.sh
|
|
|
|
tce-load -wi ipv6-`uname -r` iptables iproute2
|
|
tce-load -wi tcpdump
|
|
tce-load -wi iperf3
|
|
|