Monday, March 24, 2014
netfilter hooks to snoop packets
I've written a short netfilter hook to help snoop some outgoing packets. You can view the source code here [1]. I read a few articles [2] [3] [4] to get an idea of how to put things together.
Wednesday, March 5, 2014
trusty release party
Come celebrate the release [1] of the next Ubuntu LTS 'Trusty Tahr' 14.04 in Austin!
Wednesday, April, 16th, 5pm @ the Flying Saucer
So majestic!
creating a local vm easily and automatically
This is the nifty little snippet I use to create a quick and dirty VM for testing. Just apt-get install vmbuilder and run the following:
If you need additional help consult:
https://help.ubuntu.com/12.04/serverguide/jeos-and-vmbuilder.html
NAME="ubuntu" vmbuilder kvm ubuntu --arch 'amd64' --suite 'precise' \ --rootsize '8096' \ --mem '1024' \ --components 'main,universe' \ --addpkg vim \ --addpkg openssh-server \ --addpkg bash-completion \ --user 'ubuntu' --pass 'ubuntu' \ -d /var/lib/libvirt/images/${NAME} \ --libvirt qemu:///system \ -o \ -v --debug \ --hostname ${NAME}
If you need additional help consult:
https://help.ubuntu.com/12.04/serverguide/jeos-and-vmbuilder.html
using LTS HWE kernels with MAAS nodes
Once you get machines setup using MAAS [1], you may want to be able to install an alternative kernel when starting a machine. Here's how to do it.
This is assuming we have already commissioned a node, but have not started it.
If we are using the _normal_ installer with MAAS do the following:
Edit /etc/maas/preseeds/preseed_master on your maas-server
Add the second line as shown:
Start the node,
Now when you boot you should be using the 3.11 series kernel.
This is assuming we have already commissioned a node, but have not started it.
If we are using the _normal_ installer with MAAS do the following:
Edit /etc/maas/preseeds/preseed_master on your maas-server
Add the second line as shown:
d-i base-installer/kernel/image string linux-server d-i base-installer/kernel/override-image string linux-generic-lts-saucy
Start the node,
Now when you boot you should be using the 3.11 series kernel.
Subscribe to:
Posts (Atom)