Open chief083 opened 4 years ago
Usually /etc/resolv.conf is set to immutable attribute means VM admins do NOT want this file get changed, so with this attribute both ip customization and open-vm-tools will NOT overwrite the immutable attribute and update the file. Currently there is no way to do this by ip customization and open-vm-tools, while we will look into this internally to see if there is anything we can do in the future.
vmware site recovery manager (srm) uses open vm tools to perform ip customization. However this errors when attempting to update the name server settings in resolv.conf because resolv.conf is set to be immutable with chattr +i. Is it possible within open vm tools to still change the resolv.conf or for open vm tools to change the immutable attribute? I know it can be done manually but I am looking for a way to automate it within srm which uses open vm tools.