Re: [xen-tools-discuss] IP auto-increment

From: Steve Kemp <steve_at_steve.org.uk>
Date: Tue Sep 22 11:11:55 2009
On Tue Sep 22, 2009 at 12:09:18 +0200, .:: Alfred Sawaya ::. wrote:

> It could be possible to read the guest's ip address before deleting its
> config file, and to do a sed -i 's/A.B.C.D\:\ used/A.B.C.D/g'
> /etc/xen-tools/ips.txt , couldn't it ?

  But what if the IP was specified manually?  Then it was readded
 and reused by another creation?

  No.  In short the auto-addition was added because it could be
 useful, but deletion is a case that you'll have to handle yourself.

  Perhaps a cronjob that sees which IPs in a given range aren't
 allocated and rebuilds the ips.txt file.

Steve
--
Received on Tue Sep 22 2009 - 11:11:55 BST

Mailing list overview.