Giter Club home page Giter Club logo

munki-in-a-box's Introduction

Hello and Welcome πŸ‘‹

πŸ˜„ Pronouns: he/him/his
πŸ’¬ Ask me about: Munki, MDM, JumpCloud, 🎸🎢 The Strokes, and the Nationals ⚾️
πŸ“š Read more: Cannonball
🎧 Listen more: Mac Admins Podcast

munki-in-a-box's People

Contributors

bochoven avatar clburlison avatar homebysix avatar nmcspadden avatar tbridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

munki-in-a-box's Issues

Permissions all messed up

I installed everything using sudo munkiinabox.sh.

But when running AutoPkgr, I get permission errors one after another. Because in GUI i run a normal user and all the directories are now root user.

So what is the recommended way with permissions?

autopkg downloader is failing

rest of the script still works really well. if i manually install autopkg everything else works. spit out from the terminal log:

Traceback (most recent call last):
File "", line 1, in
KeyError: 0
curl: (3) malformed
installer: Error the package path specified was invalid: 'autopkg-latest1.pkg'.

KEY LINE IN QUESTION:
AUTOPKG_LATEST=$(curl https://api.github.com/repos/autopkg/autopkg/releases | python -c 'import json,sys;obj=json.load(sys.stdin);print obj[0]["assets"][0]["browser_download_url"]')

$REPOLOC

$REPOLOC is defined on line 20 typically as "/Users/Shared/" which is fine when combined with $REPONAME to build $REPODIR but when used elsewhere in the script such as line 70 '$REPOLOC/munkitools.dmg' you end up with a double forward slash /Users/Shared//munkitools.dmg.

Propose the trailing / is dropped from $REPOLOC and line 22 is changed to include the / i.e : REPODIR=${REPOLOC}/${REPONAME}

Stuck

When i run this script, it stuck at Processing Drop.munki CodeSignatureVerifier

Permissions issues

  • Fixed issues with admin user not in /Users (e.g. /private/var/.home/) using ~$ADMINUSERNAME instead of /Users/$ADMINUSERNAME
  • Fixed issues with elevated privileges using tee instead of redirects
    tbridge-munki-in-a-box.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.