Skip to main content

Posts

Showing posts from January, 2016

4 podcasts to follow

4 podcasts to listen to while commuting (in no particular order):
DevOps cafè : hosted monthly, features great guests and packs a tremendous amount of valuable information. Warm up by listening to a great episode with with Tom LimoncelliMagPipe Talk show : I discovered this gem because it recently featured Martin FowlerThe Changelog: more targeted towards developers than the previous two. Make sure you listen to the recent episodes with Yehuda Katx and Mitchell HashimotoHansel Minutes. Usually this one is mostly of interest to Windows people. Useful if one wants to keep an eye on the ther side of the pond or catch the occasional high-level talk

One-liner libvirt KVM guest

Boot and install a new KVM guest with guest agent support with this super simple libvirt one-liner (great for scripts and CI deployments).
Tested on a Centos 7.1 host creating a Centos 7.1 guest from a basic Kickstart file.

Parameters should be quite self-explanatory, in any case here's the documentation for virt-install. Important: remember to change the unix socket path on the last line.

File: virt-install_auto.sh -------------------------- virt-install --name "guest01" --memory 2048 -l http://your.ris.server/ris/centos71 -x "ks=http://your.ris.server/ris/ks.cfg console=ttyS0" --disk size=8,pool=your_pool,bus=virtio,format=qcow2 -w default --graphics vnc --channel unix,mode=bind,path=/var/lib/libvirt/qemu/guest01.agent,target_type=virtio,name=org.qemu.guest_agent.0