Duplicate lease dhcp / wrong ip host foreman

dhcp
vmware

#1

Problem:
When I create a new host on Foreman , the dhcp create a lease for 1 hour, at the end of the installation host restart, a new lease is created (???) and the ip address change, so we have 2 leases with the same mac address and 2 ip differents.
And on the UI in details of the host it is written the ip address of the first lease.

Expected outcome: Only 1 lease must be existed or I want the right IP in the detail of the host

Foreman and Proxy versions:
Foreman 1.16.2

Foreman and Proxy plugin versions:

Other relevant data:



![host|449x500](upload://fI4zNKNUsyMkBtYxAmO2L8dUP0N.png) 
This is the host detail with the ip of lease 1

![lease1|690x25](upload://5BhpHxUaJgMvBR1H507lwuO8lqH.png) 
This is the first lease

![lease2|689x27](upload://xt1AYgHrb5Dfusl8nS6PmSZ9lPh.png) 
This is the second lease![lease1|690x25](upload://5BhpHxUaJgMvBR1H507lwuO8lqH.png)

#2

Lease 1

Lease 2

Host with ip address of lease 1