I am starting an instance passing xml configuration like this. Contents inside my kickstart file is this apt-get install vim --assume-yes . But I think kickstart is not considered while booting instance though I am able to start instance. Please help. Thanks in advance
"<domain type='xen'>"
+ " <name>testVM-server</name>"
+" <description></description>"
+" <memory>524288</memory>"
+" <currentMemory>524288</currentMemory>"
+" <vcpu>1</vcpu>"
+ " <os>"
+ " <type>hvm</type>"
+ " <kernel>/home/xentest/Desktop/vmlinuz</kernel>"
+ " <initrd>/home/xentest/Desktop/initrd</initrd>"
+ " <loader>/usr/lib/xen-4.1/boot/hvmloader</loader>"
+ " <boot dev='hd'/>"
+ " <cmdline>ks=http://10.30.6.3/testVM-server.cfg</cmdline>"
+ " </os>"
+ " <on_poweroff>destroy</on_poweroff>"
+ " <on_reboot>destroy</on_reboot>"
+ " <on_crash>destroy</on_crash>"
+ " <devices>"
+ " <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>"
+ " <disk type='file' device='disk'>"
+ " <driver name='tap' type='aio'/>"
+ " <source file='/home/xentest/Desktop/ubuntu-server.img'/>"
+ " <target dev='xvda'/>"
+ " </disk>"
+ " <interface type='bridge'>"
+ " <source bridge='br0'/>"
+ " <script path='/etc/xen/scripts/vif-bridge'/>"
+ " </interface>"
+ " <serial type='pty'>"
+ " <target port='0'/>"
+ " </serial>"
+ " <console type='pty'>"
+ " <target type='serial' port='0'/>"
+ " </console>"
+ " <input type='mouse' bus='ps2'/>"
+ " <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>"
+ " <sound model='es1370'/>"
+ " </devices>"
+ "</domain>";
--
Thank You