New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2572 implement freebsd support #673
Conversation
👍 for FreeBSD support.. I don't know if this helps but since you added Example dhcpd config:
Example mfsbsd:/etc/dhclient.conf:
Resulting mfsbsd:/var/db/dhclient.leases.em0:
|
@frimik that looks like a pretty interesting idea - I will have a look at it if such options can be set easily based on the OS - From the mfs / OS perspective this solves the issue of passing (basic) information to the server. |
thats a pretty good idea, we would need to extend the smart proxy a bit to |
It seems like there is some stuff happening: |
@endyman ping? would love to get this in if possible |
Let's chat tomorrow on irc what needs to be done. Am 08.09.2013 um 10:47 schrieb Ohad Levy notifications@github.com:
|
rc.local support has been integrated into mfsbsd so no need to use my fork anymore https://github.com/mmatuska/mfsbsd |
end | ||
|
||
def pxe_type | ||
"memdisk" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm.. should we call it maybe differently? so if later on we use memdisk for something else? (or more specific to bsd)
what about chain-booting from pxelinux to pxeboot? in that case you don't need memdisk :) |
@@ -0,0 +1,38 @@ | |||
class Freebsd < Operatingsystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of 1.3 and later this file should be stored under app/models/operatingsystems/freebsd.rb
[test] |
Refactored Branch including more concise usage of install media - replacement for PR: #660
Added Support for FreeBSD installation. In order to install FreeBSD Servers using foreman you need to create a mfsbsd image using https://github.com/mmatuska/mfsbsd
As we require rc.local support in order to start the sysinstall process i submitted a patch to mfsbsd, too mmatuska/mfsbsd#17You can find a fork here: https://github.com/endyman/mfsbsd/tree/rc-local-supportSimply add a rc.local to /conf/ including the follwing code:
In case your foreman server is not called foreman, change it here. Currently there is no elegant way to pass params to BSD so we are using a static host here. I created a foreman CNAME in each domain pointing to the foreman server. After the kernel is booted, mfsbsd will try to fetch the installer provisioning config from https://foreman/unattended/provision
Next you need to build the mfsbsd image - BASE points to you install cdrom:
As a last step you need to copy the image to yout foreman tftpserver using this schema:
i.e.
In foreman do not forget to update your install media to point to a FreeBSD mirror near you :-)