Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| bhyvecontainerlinux [2018/08/24 03:35] – AndrewMarks | bhyvecontainerlinux [2018/08/26 15:17] (current) – AndrewMarks | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== This is a work in progress ====== | ||
| - | |||
| ====== bhyve Container Linux Virtual Machines ====== | ====== bhyve Container Linux Virtual Machines ====== | ||
| Line 51: | Line 49: | ||
| There are a couple of options here for accessing and configuring the VM: | There are a couple of options here for accessing and configuring the VM: | ||
| - | 1. Add ssh key(s) to ~core/ | + | - Add ssh key(s) to ~core/ |
| - | 2. Configure via hosted configuration | + | |
| - | For both options you can boot the VM from alternate media to configure. | + | Either option |
| ==== Boot from Linux ISO ==== | ==== Boot from Linux ISO ==== | ||
| Line 74: | Line 72: | ||
| ==== Adding ssh key(s) ==== | ==== Adding ssh key(s) ==== | ||
| + | This section is accomplished running from the Linux ISO. | ||
| From your live disk, mount the root partition | From your live disk, mount the root partition | ||
| Line 90: | Line 89: | ||
| ==== Hosting A Configuration ==== | ==== Hosting A Configuration ==== | ||
| + | This section is accomplished from any host on the same network as the VM. | ||
| A web-server is required to host a configuration file. I'm using the same %%FreeBSD%% host system to host the Container Linux configuration. | A web-server is required to host a configuration file. I'm using the same %%FreeBSD%% host system to host the Container Linux configuration. | ||
| Line 97: | Line 97: | ||
| </ | </ | ||
| - | Eeither | + | Either |
| YML: | YML: | ||
| Line 112: | Line 112: | ||
| < | < | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | } | ||
| + | ] | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | } | ||
| </ | </ | ||
| ==== Configure Kernel Parameters for hosted configuration ==== | ==== Configure Kernel Parameters for hosted configuration ==== | ||
| - | This part is also done from the Linux Live ISO. | + | This section |
| To add kernel parameters to instruct container Linux to use the hosted configuration, | To add kernel parameters to instruct container Linux to use the hosted configuration, | ||
| Line 145: | Line 167: | ||
| With your web-server running and the hosted configuration in place, reboot the VM without the Linux Live ISO. | With your web-server running and the hosted configuration in place, reboot the VM without the Linux Live ISO. | ||
| + | |||
| + | ===== Where to go from here ===== | ||
| + | |||
| + | - Enable dockerd, either manually or via the hosted configuration, | ||
| + | - Clone the ZFS disk and make clusters of Container Linux VMs running dockerd, swarm, rkt, flannel, kubernetes, etc. | ||