Hi there, The contextualization offered by OpenNebula is creating that cdrom and context.sh script, but it's up to the guest OS to read that file and configure itself.
We only provide linux scripts; you would have to create similar ones. I'm not sure how difficult that can be since I don't have experience with Windows scripting. If you only need to configure the right IP for your VM, then you can try to configure a DHCP server in your network (it can be placed in a VM in the same VNet). This has been discussed in the list, hopefully these threads will help: [1] http://www.mail-archive.com/users@lists.opennebula.org/msg01143.html [2] http://www.mail-archive.com/users@lists.opennebula.org/msg01395.html Regards -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org 2011/5/6 ddd <xrchina2...@163.com> > hi,all > now,my winxp vm is running.but,config's ip and hostname is not > right. > now,windows vm's cd-rom is existing context.sh. > This is my vm config file: > NAME=WinVista > CPU=1 > MEMORY=1024 > OS=[boot=hd] > DISK =[source="/root/images/winxp_test.img", clone=yes, > target=hda, readonly=no] > NIC=[network ="Small network"] > CONTEXT=[ > hostname = "$NAME$VMID", > ip_public = "$NIC[IP, NETWORK=\"Small network\"]", > target ="hdb" > ] > GRAPHICS =[type ="vnc",listen ="127.0.0.1", port = "1"] > windows template need config?how? > Please help me. > ---Rong Xiong > > > > > > > > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org