Skip to content

Commit f95d2ab

Browse files
author
olevole
committed
wip
1 parent 7207bd8 commit f95d2ab

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bhyve-api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ EOF
422422
{
423423
"id": "${host_hostname}",
424424
"type": "vm",
425+
"emulator": "bhyve",
425426
"is_power_on": true,
426427
"created": "${create_time}",
427428
"cpus": ${cpus},
@@ -556,6 +557,7 @@ host_hostname="${host_hostname}"
556557
gid="${jname}"
557558
hostname="${hostname}"
558559
type="vm"
560+
emulator="bhyve"
559561
is_power_on="true"
560562
created="${create_time}"
561563
cpus="${cpus}"

jail-api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ create_env()
274274
{
275275
"instanceid": "${host_hostname}",
276276
"type": "container",
277+
"emulator": "jail",
277278
"is_power_on": true,
278279
"created": "${create_time}",
279280
"cpus": ${cpus},
@@ -300,6 +301,7 @@ gid="${jname}"
300301
hostname="${hostname}"
301302
ver="${ver}"
302303
type="container"
304+
emulator="jail"
303305
is_power_on="true"
304306
created="${create_time}"
305307
cpus="${cpus}"

0 commit comments

Comments
 (0)