make sure namenode and datanodes will restart on instance reboot