Package: xen-tools
Version: 1.1-1
Severity: normal

I had trouble finding a browseable upstream changelog(again), so this may be in 
CVS.

I used

xen-duplicate-image --from=hostA --ip=192.168.20.2 --hostname=hostB

to replicate an newly created sarge image. Upon boot, the new image came
up without a network interface, though it had been properly configured
with the new IP in /etc/network/interfaces. 

A quick diff of the .cfgs between the new and old image, shows that the
duplication left out the 'vif' configuration line, preventing the 
network interface from being created.  This diff is shown below.  The 
interesting thing, is that in addition to no 'vif' line, the duplicated 
host also has a commented out 'dhcp' line.

XEN-DOM0:~# diff /etc/xen/hostB.cfg /etc/xen/hostA.cfg
3,4c3
< name   = "hostB"
< disk   = [
'file:/var/xen/domains/hostB/disk.img,sda1,w','file:/var/xen/domains/hostB/swap.img,sda2,w'
]
---
> name   = "hostA"
6c5,6
< #dhcp="dhcp"
---
> vif    = ['']
> disk   = [ 'file:/var/xen/domains/hostA/disk.img,sda1,w',
> 'file:/var/xen/domains/hostA/swap.img,sda2,w' ]

The original hostA image was created with
xen-create-image --ip=192.168.20.1 --hostname=hostA
and a properly configured xen-tools.conf

Oh, also worth noting I use Debian Sarge with xen-tools pulled from Sid
on these systems.

cheers,
iMac

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.12.6-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xen-tools depends on:
ii  debootstrap                0.2.45-0.2    Bootstrap a basic Debian system
ii  libterm-size-perl          0.2-1         Perl extension for retrieving term
ii  perl-modules               5.8.4-8sarge3 Core Perl modules

-- no debconf information


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

Reply via email to