F5Networks / f5-openstack-image-prep

Contains scripts to prepare an F5® BIG-IP® VE image file to boot in OpenStack.
Apache License 2.0
0 stars 13 forks source link

force_mgmt_mtu: leases file might have several entries #43

Open alonsocamaro opened 7 years ago

alonsocamaro commented 7 years ago

The /var/lib/dhclient/dhclient.leases might contain leases from several boots.

Although currently we only use dhcp once (it is disabled in consecutive times) this might be a problem which could be easily fixed by adding

| tail -n 1

after the awk command.

This might be needed if the workaround for sol12432 is to call force_mgmt_mtu on every boot as I suggest in https://github.com/F5Networks/f5-openstack-image-prep/issues/41