Created
November 23, 2020 18:40
-
-
Save kbruner/c9afdf940dfa55ca6fd5ba599e2d6395 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can make now: cbsd bcreate jconf=/usr/cbsd/ftmp/ubuntu-test1.76649.jconf | |
root@nucklehead:~ # cp /usr/cbsd/ftmp/ubuntu-test1.76649.jconf ubuntu-test.jconf | |
root@nucklehead:~ # cbsd bcreate jconf=/usr/cbsd/ftmp/ubuntu-test1.76649.jconf | |
Global VM ZFS guid: 14144331331543102829 | |
To edit VM properties use: cbsd bconfig jname=ubuntu-test1 | |
To start VM use: cbsd bstart ubuntu-test1 | |
To stop VM use: cbsd bstop ubuntu-test1 | |
To remove VM use: cbsd bremove ubuntu-test1 | |
For attach VM console use: cbsd blogin ubuntu-test1 | |
Creating ubuntu-test1 complete: Enjoy! | |
auto-generate cloud-init settings: /usr/cbsd/jails-system/ubuntu-test1/cloud-init | |
root@nucklehead:~ # cbsd bstart ubuntu-test1 | |
cloud-init: enabled | |
vm_iso_path: cloud-ubuntuserver-base-amd64-20.04.1 | |
Original size: 10g, real referenced size/data: 2g | |
Converting /usr/cbsd/src/iso/cbsd-cloud-cloud-ubuntuserver-base-amd64-20.04.1.raw -> /dev/zvol/zroot/ROOT/default/cbsd-cloud-cloud-ubuntuserver-base-amd64-20.04.1.raw: 10g... | |
WIP: [0%...5%...21%...35%...35%...46%...55%...66%...78%...94%...96%...99%...100%] | |
2560+1 records in | |
2560+1 records out | |
10737549312 bytes transferred in 40.258180 secs (266717205 bytes/sec) | |
cloud init image initialization.. | |
Clone cloud image into first/system vm disk (zfs clone method) | |
/sbin/zfs get -Ht snapshot userrefs zroot/ROOT/default/cbsd-cloud-cloud-ubuntuserver-base-amd64-20.04.1.raw@boot-ubuntu-test1 | |
Eject cloud source: media mode=detach name=cloud-ubuntuserver-base-amd64-20.04.1 path=/usr/cbsd/src/iso/cbsd-cloud-cloud-ubuntuserver-base-amd64-20.04.1.raw type=iso jname=ubuntu-test1 | |
UPDATE media SET jname='-' WHERE jname="ubuntu-test1" AND name="cloud-ubuntuserver-base-amd64-20.04.1" AND path="/usr/cbsd/src/iso/cbsd-cloud-cloud-ubuntuserver-base-amd64-20.04.1.raw" | |
vm_iso_path: changed | |
Detach to: ubuntu-test1 | |
All CD/ISO ejected: ubuntu-test1 | |
VRDP is enabled. VNC bind/port: 192.168.0.7:5901 | |
For attach VM console, use: vncviewer 192.168.0.7:5901 | |
Resolution: 1024x768. | |
em0 | |
bhyve renice: 1 | |
Execute master script: cloud_init_set_netname.sh | |
:: /usr/cbsd/jails-system/ubuntu-test1/master_prestart.d/cloud_init_set_netname.sh | |
Waiting for PID. | |
PID: 83147 | |
root@nucklehead:~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment