JDS on CentOS 7 not working

Hafiz
New Contributor II

I have copied the .nbi image to new CentOS 7 JDS.
But I can't seem to enable the netboot (icon red not green) on the JDS web interface.

Has anyone had any luck getting a CentOS 7 JDS working?
Disabled firewall and selinux is in permissive mode.

6 REPLIES 6

bentoms
Release Candidate Programs Tester

@Hafiz you mean NetSUS right?

Have you set the network settings in the NetBoot section?

Hafiz
New Contributor II

@bentoms Yes sorry meant NetSUS.

The NetSUS CentOS 7 VM has been assigned an IP address of 10.204.135.95/22 by the Networking Team.
The target MacBook's to be imaged would have an IP address in the range of 10.204.102.239, Subnet Mask 255.255.252.0 so also 10.204.102.239/22.

With that type of topology can the Netboot functionality work? I mean I don't think they are on the same LAN if they have that kind of topology.

In the Subnets field "Subnets on which to listen for the NetBoot image. One of the subnets must include the IP address of the NetBoot server" - what subnet and netmask should I specify.

Hafiz
New Contributor II

Okay I am going to get Networking to change the IP address of the NetbootSUS CentOS 7 VM so it is on the same LAN as the Mac clients.

However, the incorrect topology doesn't explain why the "Netboot Status" is on Red in the Web GUI.

Has anyone had any success in getting the NetbootSUS working on CentOS 7?
Are there some logs that I could look at?

Hafiz
New Contributor II

Have got Netboot status to go green!
Got rid of spaces in the nbi folder. Set NTP time and AFP and SMB password. And set a shell log-in password.
Restarted services and then Netboot status has gone green.

Networking say they can't put the NetbootSUS on the LAN but can put it on a different subnet and then use some kind of DHCP magic to be able to Netboot across subnets.

bentoms
Release Candidate Programs Tester

@Hafiz Yea that's quite common.. see here.

Hafiz
New Contributor II

I gave up on doing it this way in the end as it just wasn't working. Instead found this method which uses docker containers:
https://themacwrangler.wordpress.com/2015/04/24/creating-a-netboot-server-with-centos-7-and-bsdpy/comment-page-1/#comment-113

I got one error with setting up the container but I fixed it with this:
http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/

I re-created the netboot set with AutoCasperNBI so it would point to the new JSS:
https://macmule.com/projects/autocaspernbi/

Netboot is now working!