clone and reset virtual machine for easy cloning
I wrote a small script and posted it on github that helps cloning vms based on kvm qemu. Came quite handy if multiple clones of a golden image are required.
I wrote a small script and posted it on github that helps cloning vms based on kvm qemu. Came quite handy if multiple clones of a golden image are required.
Sometimes I am installing software and would like to have a starter entry in the menu or the sidepanel but some programs don’t create one. But it’s quite easy to add a custom runner. Just create a file somewhere on your disk. I used my home directory (~) and Postman as an example app – …
My latest IntelliJ installation didn’t come with a command line idea command so I wrote a short script and put it to /usr/local/bin/idea on my local machine. This will only work on a mac. If you’re facing the lack of the command as well you need to find the path to your idea.sh and put …
IntelliJ 2020.3 cli command – run idea from your shell again Read More »
Recently I was wondering why my shell is taking so long to show a prompt and was able to track it to nvm – node version manager. The check which version to use as default takes quite long so I was looking for a solution that allows me to keep nvm functionality and have a …
I’m using docker for a lot of projects and have to switch context very often – I know – that kind of sucks, but that’s how it is… Most containers can’t be shared between projects and I don’t want to spend more resources than necessary as my machines are on their limits. So I wrote …
My shells were starting very slow which is really bad as a dev/admin. I found out that all those version managers I installed were to blame for that. So I decided to get rid of nvm and rvm by simply removing the directories and cleaning up my .bashrc and .profile in $HOME. After those simple …
In my last post I found out who was to blame for filling my complete disk. It was this new and fu**** slow snapd added to ubuntu in the last few moments before release to get into the app market business. I decided to live without this feature and uninstalled it: After letting this run …
The new snap system starts eating my system partition. Next to being slow it also holds old backups of upgraded snaps. Ubuntu itself has no option to disable that. You can only lower the number of old versions by using which will limit the number to one live and one backup copy. But what if …
Remove old/disabled snaps from the system – ubuntu why… Read More »
If you need to get the script directory of an executed bash script you can use the following snippet to cd to the script directory:
If you want your server to install docker updates automatically then you need to add the docker repository to the list of allowed origins. Otherwise docker updates will stay untouched by unattended-update which will looks similar to this when you login and check which updates need to be installed. Had that quite some times until …
Add docker to unattended-upgrades in ubuntu 20.04 Read More »