[xen-tools-discuss] Re: Create Image without hooks?
Steve Kemp
steve at steve.org.uk
Tue Dec 18 20:08:47 CET 2007
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
--
More information about the xen-tools-discuss
mailing list