[Xen-users] kickstart %post not executed

Simone
Wed, 06 Feb 2008 11:42:43 -0000

Hi all,

I am trying to automate the provisioning of a few VM, dom0 CentOS5 - domU
CentOS4.5, the installation goes well but it completely ignores the %post
bit in the kickstart:

# Kickstart file for a generic VM
install
url --url http://server/mrepo/centos4-x86_64/disc1
cmdline
skipx
reboot

# Partition information
.....

# General system config
bootloader --location=mbr
keyboard uk
lang en_GB.UTF-8
langsupport en_GB.UTF-8
timezone --utc GMT
mouse none

# Network information
network --device eth0 --bootproto dhcp

# Security bits
authconfig --enableshadow --enablemd5 --enablecache
rootpw --iscrypted somepasswd
firewall --disabled
selinux --disabled


%packages
@core


%post
echo "Now starting post install"
mkdir /tmp/VM

Is this a known problem or am I doing something wrong?

Thanks

Simone