Posted on 08-07-2015 04:58 AM
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.
Posted on 08-09-2015 03:15 AM
@Hafiz you mean NetSUS right?
Have you set the network settings in the NetBoot section?
Posted on 08-10-2015 03:07 AM
@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.
Posted on 08-10-2015 03:32 AM
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?
Posted on 08-10-2015 04:40 AM
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.
Posted on 08-19-2015 02:46 PM
Posted on 09-09-2015 10:45 AM
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!