Commit f4e420fe authored by Erwan Bousse's avatar Erwan Bousse
Browse files

Add known problem and fix in README

parent 099619c9
......@@ -26,7 +26,9 @@ This requires Qemu and is quite long.
This is done simply by mounting the raw image and is thus rather fast.
. Third, a script can be used to convert the customized image into a Virtual Box virtual machine.
== Step 1: Create a base raw image
== Using the scripts
=== Step 1: Create a base raw image
Run `create_base_img.sh` to create `output/mini-ubuntu-base.img`.
......@@ -43,7 +45,7 @@ The resulting image has the following characteristics:
- Contains the _VirtualBox Guest Additions_.
== Step 2: Customize the raw image (optional)
=== Step 2: Customize the raw image (optional)
To customize a base image, you can run :
......@@ -74,7 +76,7 @@ NOTE: You can re-run this step as many times as needed, eg. to debug a `run.sh`
== Step 3: Convert to Virtual Box
=== Step 3: Convert to Virtual Box
To convert a raw `.img` image into a usable virtual box image, you can run the following command:
......@@ -89,4 +91,8 @@ which will create :
You can run this VM to test the result.
- `output/<raw_image_name>.ova`: the compressed VBox standalone exported virtual machine (which includes a copy of the virtual disk).
This is the final file that can be archived/shared/used, and imported in any Virtual Box instance.
It's size should be around 3.7G (without customization).
\ No newline at end of file
It's size should be around 3.7G (without customization).
== Known problems
When creating the base image (step 1), if there is an error about `curtin` failing to run `systemd-cat`, remove the `proxy` line from the file `_gateway_files/user-data` and try again.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment