Advertisement
mounty

bhyve-config

Apr 6th, 2025
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.19 KB | Software | 0 0
  1. create -b
  2. set zonepath=/rpool/machine/Gentoo
  3. set brand=bhyve
  4. set autoboot=true
  5. set ip-type=exclusive
  6. add fs
  7. set dir="/support/images/install-amd64-minimal-20250216T164837Z.iso"
  8. set special="/support/images/install-amd64-minimal-20250216T164837Z.iso"
  9. set type="lofs"
  10. add options ro
  11. add options nodevices
  12. end
  13. add net
  14. set physical="Gentoolan0"
  15. end
  16. add device
  17. set match="/dev/zvol/rdsk/volumes/vol/Gentoo/boot"
  18. end
  19. add device
  20. set match="/dev/zvol/rdsk/volumes/vol/Gentoo/root"
  21. end
  22. add device
  23. set match="/dev/zvol/rdsk/volumes/vol/Gentoo/swap"
  24. end
  25. add attr
  26. set name="bootrom"
  27. set type="string"
  28. set value="BHYVE_RELEASE"
  29. end
  30. add attr
  31. set name="vnc"
  32. set type="string"
  33. set value="unix=/tmp/vpn-server.vnc"
  34. end
  35. add attr
  36. set name="acpi"
  37. set type="string"
  38. set value="on"
  39. end
  40. add attr
  41. set name="console"
  42. set type="string"
  43. set value="/dev/zconsole"
  44. end
  45. add attr
  46. set name="disk0"
  47. set type="string"
  48. set value="volumes/vol/Gentoo/root"
  49. end
  50. add attr
  51. set name="disk1"
  52. set type="string"
  53. set value="volumes/vol/Gentoo/swap"
  54. end
  55. add attr
  56. set name="bootdisk"
  57. set type="string"
  58. set value="volumes/vol/Gentoo/boot"
  59. end
  60. add attr
  61. set name="cdrom"
  62. set type="string"
  63. set value="/support/images/install-amd64-minimal-20250216T164837Z.iso"
  64. end
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement