Skip to content

Instantly share code, notes, and snippets.

@kbruner
Created November 18, 2020 19:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kbruner/4f46ca9b748f5ff4537cf3d33680d9c8 to your computer and use it in GitHub Desktop.
root@nucklehead:~ # cbsd bstart alpine2
cloud-init: enabled
vm_iso_path: cloud-AlpineLinux-3.12.1-x86_64-standard
Original size: 4g, real referenced size/data: 625m
Converting /usr/cbsd/src/iso/cbsd-cloud-cloud-AlpineLinux-3.12.1-x86_64-standard.raw -> /dev/zvol/zroot/ROOT/default/cbsd-cloud-cloud-AlpineLinux-3.12.1-x86_64-standard.raw: 4g...
WIP: [0%...10%...22%...33%...40%...46%...55%...73%...78%...92%...99%...99%...100%]
1024+1 records in
1024+1 records out
4295098368 bytes transferred in 19.129860 secs (224523251 bytes/sec)
cloud init image initialization..
Clone cloud image into first/system vm disk (dd method)
WIP: [0%...7%...24%...33%...35%...47%...65%...68%...76%...95%...95%...99%...100%]
1024+1 records in
1024+1 records out
4295229440 bytes transferred in 26.628993 secs (161298979 bytes/sec)
Eject cloud source: media mode=detach name=cloud-AlpineLinux-3.12.1-x86_64-standard path=/usr/cbsd/src/iso/cbsd-cloud-cloud-AlpineLinux-3.12.1-x86_64-standard.raw type=iso jname=alpine2
UPDATE media SET jname='-' WHERE jname="alpine2" AND name="cloud-AlpineLinux-3.12.1-x86_64-standard" AND path="/usr/cbsd/src/iso/cbsd-cloud-cloud-AlpineLinux-3.12.1-x86_64-standard.raw"
vm_iso_path: changed
Detach to: alpine2
All CD/ISO ejected: alpine2
VRDP is enabled. VNC bind/port: 192.168.0.11:5904
For attach VM console, use: vncviewer 192.168.0.11:5904
Resolution: 1024x768.
em0
bhyve renice: 1
Waiting for PID..........
PID: 0
Wed Nov 18 11:52:17 PST 2020
cmd: env LIB9P_LOGGING=/usr/cbsd/jails-system/alpine2/cbsd_lib9p.log /usr/bin/nice -n 1 /usr/sbin/bhyve 5 bhyve_flags -c 1 -m 1073741824 -H -A -U 63194ce3-29d7-11eb-9bb0-b8aeede991dd -s 0,hostbridge -s 3,virtio-blk,/usr/cbsd/vm/alpine2/dsk1.vhd,sectorsize=512/4096 -s 4,ahci-cd,/usr/cbsd/jails-system/alpine2/seed.iso,ro -s 5,virtio-net,tap2,mtu=1500,mac=00:a0:98:23:d0:61 -s 6,virtio-rnd -s 7,fbuf,tcp=192.168.0.11:5904,w=1024,h=768 -s 30,xhci,tablet -s 31,lpc -l com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd alpine2
-----
Usage: bhyve [-abehuwxACDHPSWY]
[-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]
[-g <gdb port>] [-l <lpc>]
[-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] <vm>
[ option list omitted ]
Please use for debug: /usr/local/cbsd/share/bhyverun.sh -c /usr/cbsd/jails-system/alpine2/bhyve.conf
root@nucklehead:~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment