NFS exports webui

The Web-Ui for NFS-exports has a problem if you want to export to only one host and you need it to be the admin host, as the NFS clients field is mandatory but if you put the same IP in both fields it throws an error.

@suman Your thoughts on this one?

@Dragon2611there is a workaround: if you only have one host, and it is the admin host, only enter it as the nfs client, skip the admin host, and click the writeable (not read-only) radio box.

@roweryan It’s not the same, when you make something the admin host it sets the no root squash option.

Whilst generally you wouldn’t want this for security reasons there are a couple of cases where it’s needed.

I put in the host field and the client as the admin host as a work around.

Reported here: