[xen-tools-discuss] IP auto-increment
Steve Kemp
steve at steve.org.uk
Tue Sep 22 12:11:54 CEST 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
--
More information about the xen-tools-discuss
mailing list