mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-19 04:47:54 +00:00
Update Ostinato to v0.9
This commit is contained in:
parent
edac2609f8
commit
59e54be5f7
@ -25,12 +25,12 @@
|
|||||||
},
|
},
|
||||||
"images": [
|
"images": [
|
||||||
{
|
{
|
||||||
"filename": "ostinato-0.8-97c7d79.qcow2",
|
"filename": "ostinato-0.9-1.qcow2",
|
||||||
"version": "0.8-97c7d79",
|
"version": "0.9",
|
||||||
"md5sum": "5aad15c1eb7baac588a4c8c3faafa380",
|
"md5sum": "00b4856ec9fffbcbcab7a8f757355d69",
|
||||||
"filesize": 98631680,
|
"filesize": 101646336,
|
||||||
"download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/index.html",
|
"download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/index.html",
|
||||||
"direct_download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/ostinato-0.8-97c7d79.qcow2"
|
"direct_download_url": "http://www.bernhard-ehlers.de/projects/ostinato4gns3/ostinato-0.9-1.qcow2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "ostinato-0.8-1.qcow2",
|
"filename": "ostinato-0.8-1.qcow2",
|
||||||
@ -43,9 +43,9 @@
|
|||||||
],
|
],
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
{
|
||||||
"name": "0.8-97c7d79",
|
"name": "0.9",
|
||||||
"images": {
|
"images": {
|
||||||
"hda_disk_image": "ostinato-0.8-97c7d79.qcow2"
|
"hda_disk_image": "ostinato-0.9-1.qcow2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
# git branch, commit or tag
|
# git branch, commit or tag
|
||||||
git_commit=97c7d79
|
git_commit=v0.9
|
||||||
|
|
||||||
# setup environment
|
# setup environment
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
@ -28,6 +28,7 @@ tce-load -wi iperf3
|
|||||||
# change tcedir to ram disk
|
# change tcedir to ram disk
|
||||||
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.hd
|
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.hd
|
||||||
ln -s /tmp/tce /etc/sysconfig/tcedir
|
ln -s /tmp/tce /etc/sysconfig/tcedir
|
||||||
|
sudo cp -a /usr/local/tce.installed /usr/local/tce.installed.hd
|
||||||
|
|
||||||
# setup compile environment
|
# setup compile environment
|
||||||
tce-load -wi compiletc
|
tce-load -wi compiletc
|
||||||
@ -82,6 +83,8 @@ EOF
|
|||||||
# change tcedir back to hard disk
|
# change tcedir back to hard disk
|
||||||
rm -f /etc/sysconfig/tcedir
|
rm -f /etc/sysconfig/tcedir
|
||||||
mv /etc/sysconfig/tcedir.hd /etc/sysconfig/tcedir
|
mv /etc/sysconfig/tcedir.hd /etc/sysconfig/tcedir
|
||||||
|
sudo rm -rf /usr/local/tce.installed
|
||||||
|
sudo mv /usr/local/tce.installed.hd /usr/local/tce.installed
|
||||||
|
|
||||||
# disable automatic interface configuration with dhcp
|
# disable automatic interface configuration with dhcp
|
||||||
sudo sed -i -e '/label .*core/,/append / s/\(append .*\)/\1 nodhcp/' /mnt/sda1/boot/extlinux/extlinux.conf
|
sudo sed -i -e '/label .*core/,/append / s/\(append .*\)/\1 nodhcp/' /mnt/sda1/boot/extlinux/extlinux.conf
|
||||||
@ -110,9 +113,12 @@ if grep -q -w nodhcp /proc/cmdline; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable ostinato update, makes no sense in this environment
|
||||||
|
echo -e '# disable ostinato update\n127.0.0.127 update.ostinato.org' >> /etc/hosts
|
||||||
|
|
||||||
# start ostinato drone
|
# start ostinato drone
|
||||||
sleep 2
|
sleep 2
|
||||||
HOME=/home/gns3 drone < /dev/null > /var/log/ostinato-drone.log 2>&1 &
|
su -c 'drone < /dev/null > /var/log/ostinato-drone.log 2>&1 &' gns3
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -2,7 +2,7 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
# git branch, commit or tag
|
# git branch, commit or tag
|
||||||
git_commit=97c7d79
|
git_commit=v0.9
|
||||||
|
|
||||||
# setup environment
|
# setup environment
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
@ -18,6 +18,7 @@ tce-load -wi iperf3
|
|||||||
# change tcedir to ram disk
|
# change tcedir to ram disk
|
||||||
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.hd
|
mv /etc/sysconfig/tcedir /etc/sysconfig/tcedir.hd
|
||||||
ln -s /tmp/tce /etc/sysconfig/tcedir
|
ln -s /tmp/tce /etc/sysconfig/tcedir
|
||||||
|
sudo cp -a /usr/local/tce.installed /usr/local/tce.installed.hd
|
||||||
|
|
||||||
# setup compile environment
|
# setup compile environment
|
||||||
tce-load -wi compiletc
|
tce-load -wi compiletc
|
||||||
@ -52,7 +53,7 @@ sudo mkdir -p /tmp/ostinato/usr/local/share/applications
|
|||||||
cat > ostinato.desktop <<'EOF'
|
cat > ostinato.desktop <<'EOF'
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Ostinato
|
Name=Ostinato
|
||||||
Exec=ostinato
|
Exec=ostinato > /var/log/ostinato.log 2>&1
|
||||||
Type=Application
|
Type=Application
|
||||||
X-FullPathIcon=/usr/local/share/pixmaps/ostinato_logo.png
|
X-FullPathIcon=/usr/local/share/pixmaps/ostinato_logo.png
|
||||||
Icon=ostinato_logo.png
|
Icon=ostinato_logo.png
|
||||||
@ -94,10 +95,18 @@ EOF
|
|||||||
# change tcedir back to hard disk
|
# change tcedir back to hard disk
|
||||||
rm -f /etc/sysconfig/tcedir
|
rm -f /etc/sysconfig/tcedir
|
||||||
mv /etc/sysconfig/tcedir.hd /etc/sysconfig/tcedir
|
mv /etc/sysconfig/tcedir.hd /etc/sysconfig/tcedir
|
||||||
|
sudo rm -rf /usr/local/tce.installed
|
||||||
|
sudo mv /usr/local/tce.installed.hd /usr/local/tce.installed
|
||||||
|
|
||||||
# install wireshark
|
# install wireshark
|
||||||
tce-load -wi wireshark adwaita-icon-theme
|
tce-load -wi wireshark adwaita-icon-theme
|
||||||
|
|
||||||
|
# install dillo (tiny web browser) for reading documentation
|
||||||
|
tce-load -wi dillo ca-certificates
|
||||||
|
echo -e '\nexport BROWSER=dillo' >> .ashrc
|
||||||
|
sudo ln -s /usr/local/etc/ssl /etc/ssl
|
||||||
|
echo 'etc/ssl' >> /opt/.filetool.lst
|
||||||
|
|
||||||
# disable automatic interface configuration with dhcp
|
# disable automatic interface configuration with dhcp
|
||||||
sudo sed -i -e '/label .*core/,/append / s/\(append .*\)/\1 nodhcp/' /mnt/sda1/boot/extlinux/extlinux.conf
|
sudo sed -i -e '/label .*core/,/append / s/\(append .*\)/\1 nodhcp/' /mnt/sda1/boot/extlinux/extlinux.conf
|
||||||
|
|
||||||
@ -125,9 +134,12 @@ if grep -q -w nodhcp /proc/cmdline; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable ostinato update, makes no sense in this environment
|
||||||
|
echo -e '# disable ostinato update\n127.0.0.127 update.ostinato.org' >> /etc/hosts
|
||||||
|
|
||||||
# start ostinato drone
|
# start ostinato drone
|
||||||
sleep 2
|
#sleep 2
|
||||||
HOME=/home/gns3 drone < /dev/null > /var/log/ostinato-drone.log 2>&1 &
|
#su -c 'drone < /dev/null > /var/log/ostinato-drone.log 2>&1 &' gns3
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user