Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: How can I create a two-image Netboot setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How can I create a two-image Netboot setup



There is an example install packages script with NetRestore in the Examples folder.  Mount a network share with some code like

mkdir /Volumes/Sharename
mount_afp afp://name:email@hidden/Share /Volumes/Sharename

Then you can do something like define a variable

pkgdir=/Volumes/Sharename
pkgs="package1.pkg package2.lkg package3.pkg"
for pkg in $pkgs do
installer -pkg $pkgdir/$pkg -target "$1"
done


or something along this lines, this is off the top of my head.

Now as to how you can more automate what pacages get defined to be installed, that depends on how you use NetRestore.

     -Mike

------------------------------------------
Michael Perbix
Lower Merion School District
Telecommunications Specialist
PH (610) 645-1964
Fax (610) 896-2019

________________________________

From: system-imaging-bounces+perbix=email@hidden on behalf of Mike Bombich
Sent: Sat 8/20/2005 8:39 PM
To: email@hidden
Subject: Re: How can I create a two-image Netboot setup


Ugh.  Don't do this -- don't create a *NetBoot* image to do your Mass Deployments.  A NetBoot image mounts the local hard drive at /var/netboot and opens files on it (i.e. swpafiles).  This makes it impossible to do a block-level restore of your master image, which means it will take about twice as long to deploy your image.  Its more difficult to set up automation in this environment as well.

If you plan to use NetRestore in a Network boot environment, use the NetInstall technology to create a diskless boot environment.  NetRestore Helper will create a NetInstall set for you.

NetRestore does packages too (drop 'em in the post-actions folder, or do something fancier like Mike Perbix).

Mike

On Aug 20, 2005, at 2:11 PM, email@hidden wrote:


	Speaking of making it work, my digging has let me into an ALMOST"

	best of breed" setup to get my Casper (system imaging and package

	deployment software) and Netrestore setup to work and play well with

	one another off the same boot image.  I used System Image Utility to

	make a lightweight OS "New Boot" image that had Casper and Netrestore

	(and the accompanying preferences and post-restore scripts).

	Unfortunately, when I do this, Netrestore will see the local hard

	drive as "Netboot," but the Casper tech verified that this really was

	my local machine's hard drive.  However, I can't restore a Netrestore

	image on it.  I have these things checked:

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
System-imaging mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: How can I create a two-image Netboot setup (From: Mike Bombich <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.