Getting Started with vSphere Command-Line Interfaces
30 VMware, Inc.
for VIHOST in ${VIHOSTS[@]}
do
echo "Adding NAS datastore for ${VIHOST} ..."
esxcli --config ${VI_CONFIG_FILE} storage nfs add --host ${VIHOST} --share <share point>
--volume-name <volume name>
esxcli --config ${VI_CONFIG_FILE} storage nfs list
done
Comentarios a estos manuales