WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE [Xen-users] kickstart %post not executed


Hi Simone,

I suppose you mess something, because kickstart installations run quite fine for us.

You should try to put the following lines at the beginning of the %post part to see what's happen:

exec < /dev/tty8 &> /dev/tty8
chvt 8
set -x
read foo

By this way, the %post commands may be seen on the 8th console (alt-F8). The "read foo" command pauses the execution, you have to type <cr> to go on.

Cheers
Alain.

xen-users-bounces@xxxxxxxxxxxxxxxxxxx a écrit sur 06/02/2008 12:42:43 :

> 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_______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>