[one-users] Suggestion to update OpenNebula 3.4 documentation on VMware Drivers 3.4 [http://www.opennebula.org/documentation:rel3.4:evmwareg]

cloud.b.lab cloud.b.lab at zoho.com
Mon Apr 30 10:41:49 PDT 2012


Hi,

Suggesting to add, little bit more details to the section in the OpenNebula 3.4 Documentation as given below,
Document URL      : http://www.opennebula.org/documentation:rel3.4:evmwareg
Title                   : VMware Drivers 3.4
Section               : VMware Configuration -Users and Groups
1) Portion requiring update while using ESX [and not ESXi]as the host:
 The access via SSH needs to be passwordless. Please follow the next steps to configure the ESX node: 
  login to the esx host (ssh <esx-host>) 
 
 become root (su)
 
 $ sudo chmod +w /etc/sudoers

$ sudo vi /etc/sudoers
sudo chmod -w /etc/sudoers
Reason :
After becoming root (su)  and  adding +w permission to /etc/sudoers , next line "$ sudo vi /etc/sudoers" , should not required "sudo" prefix, Instead just have "vi /etc/sudoers".
sudo  vi /etc/sudoers, throws error message "sudo: /etc/sudoers is mode 0640, should be 0440". Where as just a "vi /etc/sudoers", opens the file for editing.
Same applies to the next line  sudo chmod -w /etc/sudoers too. sudo is not required here.

2) Additional information, may help new users:

  add oneadmin to /etc/sudoers of ESX server by adding following line, so as to eliminate the "password" prompting  while the  "/var/lib/one/var/remotes/tm/vmware/clone" process issues  a  “ssh <ESX hostname> sudo <command>”  

  oneadmin ALL=(ALL) NOPASSWD: ALL
 
 
Regards,
Anil Kumar A.N.
[cloud-b-lab]




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120430/dc0f6001/attachment-0003.htm>


More information about the Users mailing list