demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
317 stars 230 forks source link

Removing update, upgrade and removal of nvidia modules #68

Closed Anon-Exploiter closed 3 years ago

Anon-Exploiter commented 3 years ago

Removing update, upgrade, and removal of Nvidia modules to speed up the process of setting up the instance.

After removal, it approximately took 20-30 seconds for it to setup.

demotomohiro commented 3 years ago

I think remocolab should update & upgrade the system because remocolab use SSH and make colab instance accessible from the internet. If there were security issue in ubuntu and ubuntu provide a patch to fix it, it should be installed as soon as possible.

You can find out which package take long time to update and add apt remove package-name or apt-mark hold package-name before remocolab.setupVNC()/setupSSH() if you don't use it and you really sure doing so doesn't hurt ubuntu security.

Anon-Exploiter commented 3 years ago

Cool, I've made fork of the source repo and modified it. https://github.com/Anon-Exploiter/remocolab

Thanks for the source, added the stuff I needed, and removed what wasn't really required.