Created
July 26, 2014 18:08
-
-
Save patgmac/34b2c34fcff2c7b756ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By default these URLs are disabled. They need to be enabled by an Admin | |
side server pref key | |
Key: AllowURLSDPackageImport | |
Type: Boolean | |
Dafault: false | |
This implemented via a URL schema. To import a package use | |
lanrevadmin://importsoftwarepackage?packagepath=/tmp/mypackage.amsdpackages | |
&committoserver=1 | |
lanrevadmin://importsoftwarepackage?packagepath=/tmp/mypackage.amsdpackages | |
packagepath is the path to the SD package. The path has to be URL encoded. | |
If the committoserver is not specified then no commit will happen after | |
the import. A manual commit can be done by this URL | |
lanrevadmin://commitsoftwarepackagechanges |
I believe the change needs to be made to the admin console prefs rather than the server prefs: ~/Library/Preferences/com.poleposition-sw.lanrev_admin.plist
The URL handler mentioned above is making a call to the admin console rather then the server itself so this setting should go into the admin console prefs rather than the server prefs.
Good call. That works.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this to set the option
Run this to verify it is in there as a boolean
This should return 1