]> xenbits.xensource.com Git - libvirt.git/commit
add default mapping of credentials to machine
authoryuelongguang <yuelongguang@le.com>
Mon, 13 Jun 2016 09:29:57 +0000 (17:29 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 16 Jun 2016 09:36:46 +0000 (10:36 +0100)
commit743db933ed6bbcdd3ca87dd43c8164f6992bc89e
treeecf8bc1d2a5639d4ecfecf52377bdaa7ff19297a
parent3a9d1f37012e78ab55c6c5b2f4f59604b0496bd8
add default mapping of credentials to machine

In the auth config file, it is currently required to have
an entry for each hostname to connect to, eg

  [auth-libvirt-prod1.example.com]
  credentials=prod

This is inconvenient when there are large numbers of machines
all with the same credentials. Add support for a default
entry:

  [auth-default]
  credentials=prod
src/util/virauthconfig.c