url += self.config.pdns_api_path_prefix
prompt = _('PowerDNS API key for {!r}').format(url)
self.config.pdns_api_key = self.get_secret(
- prompt=prompt, item_name=_('PowerDNS API key'))
+ prompt=prompt, item_name=self.colored(_('PowerDNS API key'), 'AQUA'))
if not self.config.vm_root_password:
# Using faked root password, because it is currently not used.
@classmethod
def _apply_vmdef2vm(cls, vm, key, value, verbose=0, appname=None, base_dir=None):
- if verbose > 3:
+ if verbose > 1:
LOG.debug(_("Evaluating key {k!r}: {v}").format(k=key, v=value))
if cls._apply_general_vmdef2vm(vm, key, value, verbose):
return True
if key.lower() == 'vsphere' and value:
+ if verbose > 1:
+ LOG.debug(_("Applying vSphere {!r} to VM.").format(value))
vm.vsphere = value
return