Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
* Tick rc.netboot by default
#1
* Tick "Served from NetSUS by default & change title
#3
* Set HTTP by default #4
  • Loading branch information
macmule committed May 14, 2015
1 parent 33163c5 commit b3ff8d5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions AutoImagrNBI/AutoImagrNBI-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.1</string>
<string>1.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.1</string>
<string>1.0.2</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
Expand Down
17 changes: 6 additions & 11 deletions AutoImagrNBI/AutoImagrNBIAppDelegate.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ script AutoImagrNBIAppDelegate
property hostMacOSVersionMajor : ""
property selectedOSdmgVersionToDelim : ""
property selectedOSdmgVersionMajor : ""
property ImagrAndImagrVersionCheckTextfield : ""
property netBootImageIndexMinValue : ""
property netBootImageIndexMaxValue : ""
property netBootImageIndex : ""
Expand Down Expand Up @@ -134,9 +133,9 @@ script AutoImagrNBIAppDelegate
property buildProcessProgressBarIndeterminate : false
property buildProcessProgressBarAniminate : false
property netBootCreationSuccessful : false
property netBootServeOverNFS : true
property netBootServeOverNFS : false
property customDesktopImageEnabled : false
property installRCNetBootSelected : false
property installRCNetBootSelected : true
property timeServerOptionsEnabled : false
property createReadOnlyDMG : false
property userNotifyErrorHidden : true
Expand All @@ -145,7 +144,7 @@ script AutoImagrNBIAppDelegate
property buildButtonPreCheckPassed : true
property closeButtonPreCheckPassed : true
property simpleFinderEnabled : false
property servedFromNetSUS : false
property servedFromNetSUS : true
property logNewLine : true
property isAdminUser : false
property pkgsMissing : false
Expand Down Expand Up @@ -657,7 +656,7 @@ script AutoImagrNBIAppDelegate
-- Make sure OS & Imaging.app is specified before proceeding, once checked enable Imagr options, as well as Build & Option buttons
on checkIfReadyToProceed_(sender)
-- Make sure imagrConfigURL has a value before we proceed
if (my imagrConfigURL is not equal to missing value) or (my imagrConfigURL is not equal to "") then
if (my imagrConfigURL is not equal to missing value) and (my imagrConfigURL is not equal to "") then
-- Set to true so we can continue
set imagrConfigURLCheckPass to true
end if
Expand Down Expand Up @@ -1508,8 +1507,8 @@ script AutoImagrNBIAppDelegate
netBootName_(me)
-- Error if incorrect value specified
netBootImageIndexCheck_(me)
-- Check the Imagr URL details & try & get version of the Imagr
checkimagrURL_(me)
-- Bound to "Install modified rc.netboot file" checkbox, sets plist
installRCNetBootCheckBox_(me)
-- Set to boolean of value
set buildButtonPreCheckPassed to buildButtonPreCheckPassed as boolean
-- Proceed if we've passed precheck
Expand Down Expand Up @@ -4077,10 +4076,6 @@ script AutoImagrNBIAppDelegate
--Log Action
set logMe to "Set .nbi to RootPath"
logToFile_(me)
---- Serve Over ---
--Log Action
set logMe to "Setting NBImageInfo.plist's serve over option"
logToFile_(me)
---- ImageType ----
-- Update Build Process Window's Text Field
set my buildProcessTextField to "Setting NBImageInfo.plist ImageType"
Expand Down
17 changes: 14 additions & 3 deletions AutoImagrNBI/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
<connections>
<binding destination="Voe-Tx-rLC" name="value" keyPath="imagrConfigURL" id="Ks8-Jf-Nn9">
<dictionary key="options">
<bool key="NSAllowsEditingMultipleValuesSelection" value="NO"/>
<bool key="NSConditionallySetsEditable" value="NO"/>
<bool key="NSContinuouslyUpdatesValue" value="YES"/>
<bool key="NSRaisesForNotApplicableKeys" value="NO"/>
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
</connections>
</textFieldCell>
<connections>
<action selector="checkImagrURL:" target="Voe-Tx-rLC" id="Wog-eV-2du"/>
Expand Down Expand Up @@ -310,8 +321,8 @@
<button id="klK-eR-rye">
<rect key="frame" x="138" y="77" width="246" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<string key="toolTip">If NetBoot is to be served from a NetSUS appliance then the name cannot contain spaces, ticking this will remove spaces from the name.</string>
<buttonCell key="cell" type="check" title="Will be served from a NetSUS appliance" bezelStyle="regularSquare" imagePosition="left" controlSize="small" enabled="NO" inset="2" id="ePG-Pe-Zsf">
<string key="toolTip">If NetBoot is to be served from NetSUS or BSDPy then the name cannot contain spaces, ticking this will remove spaces from the name.</string>
<buttonCell key="cell" type="check" title="Will be served from NetSUS or BSDPy" bezelStyle="regularSquare" imagePosition="left" controlSize="small" enabled="NO" inset="2" id="ePG-Pe-Zsf">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
Expand Down Expand Up @@ -1260,7 +1271,7 @@ CA
<button toolTip="Installs a modifed rc.netboot file, this will not create shadow files on the NetBoot server." id="OEs-ku-2dk">
<rect key="frame" x="109" y="31" width="183" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Install modified rc.netboot file" bezelStyle="regularSquare" imagePosition="left" inset="2" id="wqh-6g-HMT">
<buttonCell key="cell" type="check" title="Install modified rc.netboot file" bezelStyle="regularSquare" imagePosition="left" enabled="NO" state="on" inset="2" id="wqh-6g-HMT">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
Expand Down

0 comments on commit b3ff8d5

Please sign in to comment.