Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk OS X Server
The following AppleScript will use Remote Desktop to set a non-default NetBoot image as the startup disk. Make sure to insert your server's IP Address and the image name...

tell application "Remote Desktop"
	set theServer to "192.168.1.8"
	set theImage to "10.8.5 NetBoot"
	set theComputers to the selection
	set theTask to make new set network startup disk task with properties {from server:theServer, mount volume:theImage, restarting:true}
	execute theTask on theComputers
end tell
    •    
  • Currently 1.80 / 5
  You rated: 2 / 5 (10 votes cast)
 
[6,319 views]  

Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk | 4 comments | Create New Account
Click here to return to the 'Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk
Authored by: MacManager on Oct 10, '13 09:26:12AM

Looks like some of the code was cut off. Should be:

set theTask to make new set network startup disk task with properties {from server:theServer, mount volume:theImage, restarting:true}



[ Reply to This | # ]
Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk
Authored by: Strod on Oct 10, '13 11:58:03AM

No, Mr. Manager. The complete text is there. If you put the cursor on top of the text you will find that it is inside a text panel that can be scrolled sideways to reveal the rest of the long line.



[ Reply to This | # ]
Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk
Authored by: rusto on Oct 10, '13 07:00:23PM

Bit by the (usually) invisible scroll bars.



[ Reply to This | # ]
Use AppleScript and Remote Desktop to set a non-default NetBoot startup disk
Authored by: MacManager on Oct 14, '13 08:50:19AM

Ah, yes... darn you invisible scroll bars (shaking fist)!



[ Reply to This | # ]