Archive for the ‘Script or Code’ Category
I recently ran into a situation where I needed to create a large number of Logical Volumes for a server replacement situation. I could have done some manual data input, but why not take the opportunity to quickly write a script to do the hard work for me? For my situation this was a server [...]
I have been working on creating a bunch of debootstrap images lately, and I ended up doing a whole bunch of work creating tarballs and did it wrong. So I took the time to sort out an easy way to fix them all with two commands. The Core of My Problem So what started this [...]
Every once and a while you will have the need to make multiple ssh calls to remote systems within a bash script. Normally you would simply have the user enter their password multiple times, or have a requirement for SSH keys to be configured prior to running the keys. This is widely accepted as the [...]
One of the biggest weaknesses of dd is that it has no way to display progress on its actions. You can send a signal to the process which will pause, display statistics, and resume the process however this takes up alot of your terminal screen if you are doing any sort of long running copy. [...]
When you compare Linux-KVM to Hyper-V or VMWare your initial results will indicate that Linux-KVM is lacking when it comes to management tools, and basic functionality. You would be correct, however you would also be incorrect. You see with Linux-KVM we can leverage the underlying power of the Linux userland, and with this frankly all [...]
