Displaying 2 results from an estimated 2 matches for "auth_client_config".
2016 Jun 01
2
Re: virsh for VMWare
[libvirt-users should be able to help out]
On Wed, Jun 01, 2016 at 01:58:09PM +0000, John L. Magee wrote:
> Rich- do you know a way we could use virsh in scripts without
> manually entering the username/password creds for every invocation?
> Or could you point me to a source who may be able to help? We need
> to be able to set Linux VM memory and cpu configurations from a
> linux
2016 Jun 01
0
Re: virsh for VMWare
...set Linux VM memory and cpu configurations from a
> > linux monitoring system and, if the cred entry could be overcome,
> > virsh would be so much simpler than conventional VMWare
> > alternatives.
Yep libvirt supports a config file for credentials
http://libvirt.org/auth.html#Auth_client_config
For vmware esx IIRC you would create
$HOME/.config/libvirt/auth.conf
containing
[credentials-prod]
username=fred
password=123456
[auth-esx-test1.example.com]
credentials=prod
[auth-esx-test2.example.com]
credentials=prod
[auth-esx-test3.example.com]
credentials=prod
Reg...