Sha256: 9e1caa417a80c63371460f5902c204c3af799cdb91fec65af9e12dfa5fa9c0b8
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
- save_as_vdi: - check_cmd_out: VBoxManage - exec_out: qemu-img convert -O vdi $$input $$output.vdi - exec_out: | echo "Compact the vdi disk" VBoxManage modifyhd $$output.vdi --compact 2>&1 - exec_out: echo "Saved vdi appliance to $(pwd)/$$output.vdi" - create_virtualbox_vm: - exec_out: | BOX_NAME="$${kameleon_recipe_name}_$${kameleon_short_uuid}" - exec_out: VBoxManage createvm --name "$BOX_NAME" --register - exec_out: VBoxManage modifyvm "$BOX_NAME" --ostype $$os_type - exec_out: VBoxManage modifyvm "$BOX_NAME" --memory $$memory - exec_out: VBoxManage modifyvm "$BOX_NAME" --acpi on - exec_out: VBoxManage modifyvm "$BOX_NAME" --nic1 nat - exec_out: VBoxManage modifyvm "$BOX_NAME" --nictype1 virtio - exec_out: VBoxManage storagectl "$BOX_NAME" --name "IDE Controller" --add ide - exec_out: | VBoxManage storageattach "$BOX_NAME" --storagectl "IDE Controller" \ --port 0 --device 0 --type hdd \ --medium $$output.vdi - on_export_clean: - exec_out: VBoxManage unregistervm --delete "$BOX_NAME" - export_virtualbox_vm: - exec_out: echo "Create vagrant package" - exec_out: rm -f $$output.box - exec_out: vagrant package --base $BOX_NAME --output $$output.box
Version data entries
3 entries across 3 versions & 1 rubygems