Fixing ubuntu ifdown error for ens3

Ubuntu ifdown script cannot handle old address when it was wiped
from /etc/network/interfaces
It fails and causes
RTNETLINK answers: No such process
RTNETLINK answers: Cannot assign requested address
error.

This patch fixes this behavior by:
1) proper flushing all the addresses from ens3
2) removing ifstate flag, so further ifup script could set it up.
2 files changed
tree: 6c4b70d9fddff6987dd29f90f455b34dfaeaada9
  1. config-drive/
  2. mirror-image/