Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions modules/ROOT/pages/provisioning-applehv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ This section shows how to boot a new VM with vfkit. Vfkit is known to work with

Fetch the latest image suitable for your target stream (or https://fedoraproject.org/coreos/download/[download and verify] it from the web). Remember to download the appropriate image based on the architecture of your Mac. Once downloaded, you will also need to decompress the image.

TIP: If you want to keep a copy of the image file, use `cp` with the `-c` flag.

[source, bash]
```
cp -c image.raw image.raw.original
```

This copies the file using clonefile(2), thus creating a Copy-on-Write (CoW) clone of the file.
Less disk space will be used for storing the file `image.raw.original`.

=== Setting up a new VM

Vfkit is not a stateful virtual machine framework. You simply need to run the vfkit binary to start a virtual machine. The following command line will launch a VM with:
Expand Down Expand Up @@ -73,3 +83,13 @@ When FCOS is completed booting, you will see the IP address of the VM displayed
----
ssh core@192.168.64.5
----

=== Increasing disk size

To have more free disk space available inside the image, you can increase the size of the image after downloading it.

.Increase the size of the disk image by 10 GB
[source, bash]
```
truncate -c -s +10G image.raw
```
Loading