Package: xen-tools
Severity: normal

If the target directory for the image does not exist, xen-create-image does not appear to generate any error messages. For instance:

# ls /opt/
lost+found  xen

=======================================

# xen-create-image --dir /opt/blah-images --debootstrap --dhcp --hostname=blah.test.com

General Infomation
--------------------
Hostname       :  blah.test.com
Distribution   :  etch
Fileystem Type :  ext3

Size Information
----------------
Image size     :  4Gb
Swap size      :  128Mb
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.18-6-xen-686
Initrd path    :  /boot/initrd.img-2.6.18-6-xen-686

Networking Information
----------------------
IP Address     : DHCP


Creating swap image: /opt/blah-images/domains/blah.test.com/swap.img
Done

Creating disk image: /opt/blah-images/domains/blah.test.com/disk.img
Done

Creating ext3 filesystem on /opt/blah-images/domains/blah.test.com/disk.img
Done

Installing your system with debootstrap mirror ftp://161.12.5.32/debian/
Done

Running hooks
Done

No role script specified.  Skipping

Creating Xen configuration file
Done
All done


Logfile produced at:
        /var/log/xen-tools/blah.test.com.log

=======================================

It does take sufficient time to make one think it has created the files and boot strapped the system. However, the directories and files simply aren't created.

# ls /opt/
lost+found  xen

Perhaps the script should check the files are actually created? Or even go so far as to create the directory if it doesn't exist?


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.18-5-486

Debian Release: 4.0

--- Package information. ---
Depends (Version) | Installed
=======================-+-===========
|




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to