Dave Voutila <d...@sisu.io> writes:

Hi,

> Any takers?
>
> Here's an updated diff also removes some logic in config.c related to
> checking the value sent by vmctl(8)'s -b flag to see if it's the same as
> the root disk image (-d).

I don't know if this patch was committed already, but there is a mention
of ramdisk in vm.conf(5).

Here is a small patch to replace the example with a boot on disk.

Best,

diff --git usr.sbin/vmd/vm.conf.5 usr.sbin/vmd/vm.conf.5
index e32ab65b16d..d47d4020504 100644
--- usr.sbin/vmd/vm.conf.5
+++ usr.sbin/vmd/vm.conf.5
@@ -82,10 +82,10 @@ Macros are not expanded inside quotes.
 .Pp
 For example:
 .Bd -literal -offset indent
-ramdisk="/bsd.rd"
+disk1="/var/disks/disk1.qcow2"
 vm "vm1.example.com" {
        memory 512M
-       boot $ramdisk
+       disk $disk1
 }
 .Ed
 .Sh GLOBAL CONFIGURATION


-- 
gjadi
PGP : AF26 E9C2 A1C8 8D32 A868  4386 1373 5477 2B65 1894

Reply via email to