Stashapp/setup-bhyve.sh

17 lines
342 B
Bash
Raw Normal View History

2024-02-24 22:02:31 +00:00
#!/usr/bin/env sh
## For FreeBSD with vm-bhyve and ZFS.
zfs create data/vm
2024-02-25 18:30:43 +00:00
2024-02-24 22:02:31 +00:00
vm datastore add stashvm zfs:data/vm
vm switch create feed
vm switch add feed re1
2024-02-25 18:30:43 +00:00
vm create -d stashvm -t alpine-lts -s 1T stashapp
2024-02-24 22:02:31 +00:00
vm install stashapp /zroot/vm/.iso/alpine-standard-3.19.1-x86_64.iso
vm console stashapp
2024-02-25 18:30:43 +00:00
## Add `vm_list="stashapp"` to rc.conf.