[xen-tools-discuss] Re: Create Image without hooks?

From: Steve Kemp <steve_at_steve.org.uk>
Date: Tue, 18 Dec 2007 19:08:47 +0000
On Mon Dec 17, 2007 at 16:30:39 +0100, Alexandros Manakos wrote:

> I??d like to know if there is a possibility to get the xentools to 
> disable the updates (as fa as i know: 20-setup-apt) for the vm i want to 
> create? I create a new vm via .tar and i dont want any updates at all to 
> be installed in the vm.

  Not as currently written.  You can disable all hooks, but not
 specific individual ones.

  My solution?  Add 'exit' to the top of the script you don't want
 to run!

> The command i use is: xen-create-image --hostname test 
> --install-source=/etc/xen/data/templates/etch-template.tar 
> --install-method=tar --dir=/etc/xen/data/templates/ --dist=etch 
> --kernel /boot/vmlinuz-2.6.18-xenU --boot

  Most of these command line parameters would be better suited to
 the configuration file ..

Steve
--
Received on Tue Dec 18 2007 - 19:08:52 GMT

Mailing list overview.