from ..xlate import XLATOR
-__version__ = '0.3.0'
+__version__ = '0.3.1'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
for disk_name in sorted(vm.disks.keys()):
content += self._create_instfile_disk(vm, disk_name)
- content += textwrap.indent(textwrap.dedent('''\
- cdrom {
- client_device = "true"
- }
-
- '''), ' ')
-
content += self._create_instfile_custom(vm, tpl_vm)
if self.verbose > 1:
local yfile="${conf_dir}/csr_attributes.yaml"
info "Generating '${GREEN}${yfile}${NORMAL}' ..."
local content=$( cat <<-EOF
- ---
- extension_requests:
- 1.3.6.1.4.1.34380.1.2.1: '${CUSTOMER}'
- 1.3.6.1.4.1.34380.1.2.2: '${PROJECT}'
- 1.3.6.1.4.1.34380.1.2.3: '${TIER}'
- EOF
+ ---
+ extension_requests:
+ 1.3.6.1.4.1.34380.1.2.1: '${CUSTOMER}'
+ 1.3.6.1.4.1.34380.1.2.2: '${PROJECT}'
+ 1.3.6.1.4.1.34380.1.2.3: '${TIER}'
+ EOF
)
debug "Generatet content of '${yfile}':\n${content}"
echo "${content}" > "${yfile}"