Skip to content

V2 qemu

rgaudin requested to merge _v2-qemu into v2master

Qemu/Ansible related changes

New features for Qemu:

  • dynamically assigns cpus/cores based on the those available
  • RAM usage can be specified and is adjusted if out of bounds
  • moved qemu-img info command to a dedicated function as it's reused when mounting
  • qemu parameters are updated to the recomended syntax
  • file system resize is removed as now handled inside ansiblecube

rewrite of ansiblecube

  • --extra-vars are now in JSON format and written into a file that is uploaded
  • most of the work has been moved to ansiblecube. bootstrap (master-only) limited to installing ansible
  • now using the latest (2.5) ansible
  • run_for_image() to create the base image
  • run_phase_one() to reconfigure the softwares for the content
  • run_phase_two() to finish setup after content has been placed in data partition

Updated the subprocess helper

  • created a new, more flexible helper:
  • logger is optional
  • check is optional
  • can optionally decode output to string
  • can optionally run the command as admin
  • former subprocess_pretty_check_call now uses the new helper

Merge request reports