Home Forums Software InstaDMG Lion…

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #381011
    tristan_mason
    Participant

    Ive been busy with other stuff (Munki mainly) but it seems as though I can’t run instaDMG on a machine running Lion. Is that correct? I’ve no intention of updating my machine that builds my images but was trying to run instaDMG on a Lion machine and it wasn’t too happy. I’m bot really too concerned at this point but just looking for a yes or no. By the time we come to deploy Lion i’m sure things will have worked themselves out.

    Tris

    #381014
    Allister Banks
    Participant

    Watch this space.

    Allister

    #381022
    tristan_mason
    Participant

    i’ll keep watching !-)

    but it’s a no t the question?

    tris

    #381024
    Allister Banks
    Participant

    Sorry, not trying to be mysterious, the newest svn check-in allows you to run instadmg.bash on lion. InstaUp2date is taking longer than I’d like due to python differences etc. If you run instadmg.bash the legacy way and use the -s flag to turn off jailing of the installer daemons things will work. There’s a new createUser you’d need to take advantage of, here’s a preview:

    [url]http://dl.dropbox.com/u/3310207/CreateLionUser-test4.dmg[/url]
    MagerValp has said he’d allow bundling it in the svn repo, but I’m working on code to make it easier to use and should be done soon.

    Allister

    #381091
    hansen_m
    Participant

    It would be nice if CreateLionUser.pkg could also “kickstart” and enable access for ssh (Remote Login), similar to what it does with ARD…

    Not in Python yet but so far this works…

    dscl . merge /Groups/com.apple.access_ssh GroupMembership $USER

    dscl . merge /Groups/com.apple.access_ssh GroupMembers `dscl . read /Users/$USER GeneratedUID | awk ‘{print $2}’`

    Or, better option…

    dseditgroup -o edit -a $USER -t user com.apple.access_ssh

    Only issue is it will fail if the ds node doesn’t exist, and I’m not quite sure how to create it. In terms of the GUI the action of clicking “Allow access for: Only these users:” flips the switch and creates > /var/db/dslocal/nodes/Default/groups/com.apple.access_ssh.plist

    Using `systemsetup` would be a better option but unfortunately it only includes the following…

    Usage: systemsetup -getremotelogin
    Display whether remote login is on or off.

    Usage: systemsetup -setremotelogin
    Set remote login to either
    or . Use “systemsetup -f -setremotelogin off” to suppress prompting when turning remote login off.

    #381092
    Allister Banks
    Participant

    I tested creating the group in dscl to be able to fulfill that request, and integrated it in this ‘fork’ of the original createUser:
    [url]https://github.com/arubdesu/One-Stop-LocalMCX/blob/master/createUser2010.pkg/Contents/Resources/postflight[/url]

    I’ll look at integrating it with the one in svn, along with a gui config tool shared with me…

    Allister

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed