Wednesday, April 20, 2011

Friday, April 15, 2011

fedora f14 add rpm-fusion repo

yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Wednesday, April 13, 2011

BBC news fail

First time for everything.

Tuesday, April 5, 2011

this kickstat file works

As generated by system-config-kickstart on a CentOS box. I got tired of trying to bother remembering the syntax so I created a virt machine just to create a few kickstart files to play with and experiment.

#platform=x86, AMD64, or Intel EM64T
auth --useshadow --enablemd5
bootloader --append="selinux=0" --location=mbr --password=STFU
zerombr
clearpart --all --initlabel
text
firewall --enabled --ssh --trust=eth0
firstboot --disable
keyboard uk
lang en_GB
logging --level=info
url --url=http://192.168.122.1/yum/base
# yaaaawn!
network --bootproto=static --device=eth0 --gateway=192.168.122.1 --ip=192.168.122.11 --nameserver=192.168.122.1 --netmask=255.255.255.0 --onboot=on
reboot
rootpw --iscrypted STFU! ;-)

selinux --disabled
skipx
timezone Europe/London
install
part /boot --asprimary --bytes-per-inode=4096 --fstype="ext3" --grow --maxsize=400 --size=1
part swap --asprimary --bytes-per-inode=4096 --fstype="swap" --size=1024
part / --asprimary --bytes-per-inode=4096 --fstype="ext3" --grow --size=1

%packages
@base

virt-install's a goer

point the virt server to a kickstart file.

virt-install --name puppet1 --ram 512 --vcpus 2 --disk /var/lib/libvirt/images/puppet1.img,size=8 --connect qemu:///system --description "blah foo blah" --extra-args "ks=http://192.168.122.1/ks/base-ks.cfg" --location http://192.168.122.1/yum/base

Starting install...
Retrieving file .treeinfo... | 834 B 00:00 ...
Retrieving file vmlinuz... | 3.7 MB 00:00 ...
Retrieving file initrd.img... | 15 MB 00:00 ...
Allocating 'puppet1.img' | 8.0 GB 00:00
Creating domain... | 0 B 00:00
Creating domain... 0.0 B/s | 0 B 00:00