Installing / make

147 views
Skip to first unread message

Mike

unread,
Mar 31, 2016, 10:56:14 AM3/31/16
to imagr-discuss
Hi all

i try to setup imagr on centos 6.8, currently i am running in to some problems with the make. My installation is based on the components apache and bsdpy.
downloaded the imgr source and placed my config.mk file there

config.mk

URL="http://192.168.1.201/imagr_config.plist"
APP="/Applications/Install OS X El Capitan.app"
OUTPUT=~/Desktop
NBI="Imagr"
ARGS= --enable-nbi --add-python
BUILD=Release
AUTONBIURL=https://bitbucket.org/bruienne/autonbi/raw/master/AutoNBI.py
FOUNDATIONPLISTURL=https://raw.githubusercontent.com/munki/munki/master/code/client/munkilib/FoundationPlist.py
INDEX="5001"
VALIDATE=False
SYSLOG=none


make nbi
sudo rm -rf Packages
if [ ! -f ./AutoNBI.py ]; then \
                curl -fsSL https://bitbucket.org/bruienne/autonbi/raw/master/AutoNBI.py -o ./AutoNBI.py; \
                chmod 755 ./AutoNBI.py; \
        fi
if [ ! -f ./FoundationPlist.py ]; then \
                curl -fsSL https://raw.githubusercontent.com/munki/munki/master/code/client/munkilib/FoundationPlist.py -o ./FoundationPlist.py; \
                chmod 755 ./FoundationPlist.py; \
        fi
rm -f com.grahamgilbert.Imagr.plist
./validateplist "http://192.168.1.201/imagr_config.plist"
FoundationPlist is required. Use from the git repo or install Munki
make: *** [config] Error 1


AutoNBI.py and FoundationPlist.py are in the here and executable

Any hint for me ?

thanks
mike

Graham Gilbert

unread,
Mar 31, 2016, 11:14:20 AM3/31/16
to imagr-discuss
Imagr itself doesn't need to be 'installed' anywhere. You should be running the make commands on your mac, which will produce an nbi which you can then upload to your netboot server (whichever platform it is running on).

--
You received this message because you are subscribed to the Google Groups "imagr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imagr-discus...@googlegroups.com.
To post to this group, send email to imagr-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/imagr-discuss/f69fe5f0-2a65-45ec-b3aa-43bf6c802b4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike

unread,
Apr 1, 2016, 4:26:59 AM4/1/16
to imagr-discuss
on my mac, okay that would explain anything. :-)

H K

unread,
Dec 28, 2016, 5:06:09 PM12/28/16
to imagr-discuss
Greetz,

Along the same thread, I'm walking through the awesome tut put together on osxdominion (yay, dominion!) and following the steps "Preparing Your NBI", and I have encountered an issue with 'make nbi'

  • Step 1, "Create a file. . .  We'll fill the contents of this file shortly.  For now, just make sure it's accessible."

I write the imagr_config.plist to my server, and ensure it's accessible from my admin mac.  The file imagr_config.plist is empty, as assumed from the tutorial instructions.

Next, I run 'make nbi' from  /Applications/imagr/ and the output error is as such:

ERROR: There are no workflows.
make: *** [config] Error 1

Thanks in advance for pointers here! 
Message has been deleted

Graham Gilbert

unread,
Dec 28, 2016, 5:24:25 PM12/28/16
to imagr-discuss
I'm not sure what utopian you're following, but you should definitely have some workflows (at least one) before building the nbi. How else would imagr know what to do? If you want to skip validation, build your nbi with the VALIDATE=false flag. 

Sent from my iPhone




--
You received this message because you are subscribed to the Google Groups "imagr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imagr-discus...@googlegroups.com.
To post to this group, send email to imagr-...@googlegroups.com.

H K

unread,
Dec 28, 2016, 6:54:08 PM12/28/16
to imagr-discuss
Ah, thanks Graham. That's a helpful shortcut.  I've done some digging and I also found  https://github.com/nmcspadden/imagrconfigcreator which looks helpful too.

Cheers.

Graham Gilbert

unread,
Dec 28, 2016, 6:58:48 PM12/28/16
to imagr-discuss
I'm pretty sure that doesn't have any of the most recent additions to imagr as Nick uses Deploystudio at his current employer. 

Sent from my iPhone




H K

unread,
Dec 28, 2016, 7:14:15 PM12/28/16
to imagr-discuss
thanks for the heads up.  I'm skipping validation for now, and I'll check out the info you've provided here in a bit https://github.com/grahamgilbert/imagr/wiki/Workflow-Config

The tutorial I referenced was this one: https://osxdominion.wordpress.com/2015/05/12/we-are-imagr-and-so-can-you/

gje.k...@gmail.com

unread,
Mar 1, 2019, 10:17:23 PM3/1/19
to imagr-discuss
What are the steps to doing that? 

Thanks 
Tony 


On Thursday, March 31, 2016 at 10:56:14 AM UTC-4, Mike wrote:
Reply all
Reply to author
Forward
0 new messages