Skip to content

Instantly share code, notes, and snippets.

@ftiff
Created November 9, 2015 13:29
Show Gist options
  • Save ftiff/7ffdbc9760017ba13483 to your computer and use it in GitHub Desktop.
Save ftiff/7ffdbc9760017ba13483 to your computer and use it in GitHub Desktop.
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS array" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0 dict" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:name string local" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:type string Local" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:mount_point string /Users/Shared/JAMFDistrib" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:share_name string JAMFDistrib" ~/Library/Preferences/com.github.autopkg.plist
autopkg run /Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/JSS/MalwarebytesAntiMalware.jss.recipe
@ftiff
Copy link
Author

ftiff commented Nov 9, 2015

    "JSS_REPOS" =     (
                {
            "mount_point" = "/Users/Shared/JAMFDistrib";
            name = local;
            "share_name" = JAMFDistrib;
            type = Local;
        }
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment