NETem - Network Link Emulator for GNS3

post_setup.sh 474B

1234567891011121314151617
  1. # post-installation script
  2. set -x
  3. # base system modifications
  4. sudo sed -i -e '/^\/opt\/bootlocal/ i' /opt/bootsync.sh
  5. echo -e "\nusername 'gns3', password 'gns3'\nRun filetool.sh -b if you want to save your changes" >> /etc/issue
  6. echo 'etc/issue' >> /opt/.filetool.lst
  7. echo 'etc/shadow' >> /opt/.filetool.lst
  8. # save changes
  9. rm -f .ash_history
  10. filetool.sh -b sda1
  11. # write 0, not really necessary
  12. #sudo dd if=/dev/zero of=/mnt/sda1/zero ; sudo rm -f /mnt/sda1/zero
  13. exit 0