mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Don't use the same UID for all test leases.
This commit is contained in:
@@ -4,23 +4,23 @@ foo=10
|
|||||||
while [ $foo -lt 100 ]; do
|
while [ $foo -lt 100 ]; do
|
||||||
cat >>dhcp-1.leases <<~
|
cat >>dhcp-1.leases <<~
|
||||||
lease 10.0.0.$foo {
|
lease 10.0.0.$foo {
|
||||||
starts 4 2001/04/16 02:19:16;
|
starts 4 2001/04/19 02:19:16;
|
||||||
ends 5 2001/04/18 02:29:16;
|
ends 5 2001/04/21 02:29:16;
|
||||||
binding state active;
|
binding state active;
|
||||||
next binding state free;
|
next binding state free;
|
||||||
hardware ethernet 08:00:46:06:6c:23;
|
hardware ethernet 08:00:46:06:6c:23;
|
||||||
uid "test-198";
|
uid "test-$foo";
|
||||||
}
|
}
|
||||||
~
|
~
|
||||||
foo=`expr $foo + 1`
|
foo=`expr $foo + 1`
|
||||||
cat >>dhcp-2.leases <<~
|
cat >>dhcp-2.leases <<~
|
||||||
lease 10.0.0.$foo {
|
lease 10.0.0.$foo {
|
||||||
starts 4 2001/04/16 02:19:16;
|
starts 4 2001/04/19 02:19:16;
|
||||||
ends 5 2001/04/18 02:29:16;
|
ends 5 2001/04/21 02:29:16;
|
||||||
binding state active;
|
binding state active;
|
||||||
next binding state free;
|
next binding state free;
|
||||||
hardware ethernet 08:00:46:06:6c:23;
|
hardware ethernet 08:00:46:06:6c:23;
|
||||||
uid "test-198";
|
uid "test-$foo";
|
||||||
}
|
}
|
||||||
~
|
~
|
||||||
foo=`expr $foo + 1`
|
foo=`expr $foo + 1`
|
||||||
|
Reference in New Issue
Block a user