Home > DeployStudio, Linux, Mac administration, Unix > Modifying JAMF’s NetSUS to host DeployStudio NetBoot boot sets

Modifying JAMF’s NetSUS to host DeployStudio NetBoot boot sets

Gary Larizza updated his NetSUS appliance write-up earlier today, to include information on how to modify the NetSUS’s /var/www/webadmin/scripts/adminHelper.sh so that it can accommodate DeployStudio’s NetBoot sets.

Gary’s way is elegant and uses vim. Consider this the illustrated version that’s doing the same process the hard way with nano. See below the jump for the details.

Start up your NetSUS VM and hit the Enter key to get past the opening welcome screen

Screen Shot 2012-02-06 at 3.59.43 PM

Log in as the shelluser account

Screen Shot 2012-02-07 at 11.47.57 AM

Once at the prompt, run the following command to change to the /var/www/webadmin/scripts directory:

cd /var/www/webadmin/scripts

Screen Shot 2012-02-07 at 11.47.07 AM

Once in /var/www/webadmin/scripts, use nano to open the adminHelper.sh script for editing.

sudo nano adminHelper.sh

Screen Shot 2012-02-07 at 11.48.38 AM

In adminHelper.sh, go to line 98 and edit the following line (outlined in yellow):

From: dmgfile=`echo $files | grep dmg`

Screen Shot 2012-02-07 at 11.52.19 AM

To: dmgfile=`echo $files | egrep dmg\|sparseimage`

Screen Shot 2012-02-07 at 11.53.22 AM

Hit Control-X to exit nano, and you’ll be prompted to save your changes.

Screen Shot 2012-02-07 at 11.54.03 AM

Save changes as adminHelper.sh

Screen Shot 2012-02-07 at 11.54.10 AM  

Screen Shot 2012-02-07 at 11.54.19 AM

From here, you can use DeployStudio to generate a Netboot booter image and upload it to the NetSUS VM through the web-based GUI. Also, while you’re in here, consider installing SSH using Gary’s instructions at the linked post above. It’ll make future editing like this a lot more painless.

As Gary mentions in his post, the changes you made to the adminHelper.sh script should get propagated to /etc/dhcpd.conf when you use the GUI to set up a new Netboot image.

  1. Jason
    May 31, 2012 at 4:54 pm | #1

    Thanks for this, worked like a charm. Am I correct in assuming you still need OSX hardware to run Deploystudio on?

    • May 31, 2012 at 4:56 pm | #2

      Right, you need OS X or OS X Server to run the DS server software on.

  2. Jason
    May 31, 2012 at 4:58 pm | #3

    Bummer, thanks for the quick response!

  3. Abdoulie
    July 19, 2012 at 11:43 pm | #4

    Is there way to server multiple netboot images using the Netboot/SUS appliance

  4. Jeremy D
    May 23, 2013 at 5:38 pm | #5

    It’s been awhile, so I imagine you’ve learned that NetSUS_1.02.ova is still limited to hosting a single .nbi at a time—unless someone has found a work-around? Rich even submitted a feature request to JAMF to allow hosting multiple .nbi via NetSUS_1.02.ova.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 126 other followers

%d bloggers like this: