From e4249d87f98be94084e56073d672d1a31c34d517 Mon Sep 17 00:00:00 2001 From: theCiscoGeek <37739541+theCiscoGeek@users.noreply.github.com> Date: Thu, 24 Sep 2020 22:31:44 -0600 Subject: [PATCH] Create README.md --- virl-base-images/opnsense/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 virl-base-images/opnsense/README.md diff --git a/virl-base-images/opnsense/README.md b/virl-base-images/opnsense/README.md new file mode 100644 index 0000000..3e79a73 --- /dev/null +++ b/virl-base-images/opnsense/README.md @@ -0,0 +1,13 @@ +# Creating the image file for CML + +To get started with OPNsense, download the 'nano' image from https://opnsense.org/download/ + +Once you have the image archive, unarchive it, convert the image to qcow2, and then (optional) expand the image for extra headroom. + +Here is an example of how I did it: + +`bzip2 -d OPNsense-20.7-OpenSSL-nano-amd64.img` + +`qemu-img convert -f raw -O qcow2 OPNsense-20.7-OpenSSL-nano-amd64.img OPNsense-20.7-OpenSSL-nano-amd64.qcow2` + +`qemu-img resize OPNsense-20.7-OpenSSL-nano-amd64.qcow2 8G`