----- Jörgen Maas <[email protected]> wrote:
> On Wed, Nov 23, 2011 at 1:50 AM, Michael DeHaan
> <[email protected]> wrote:
> > Apologies on answering with code, but here's an interesting comment in
> > the source (buildiso.py):
> >
> >
> >    def 
> > generate_standalone_iso(self,imagesdir,isolinuxdir,distname,filesource):
> >        """
> >        Create bootable CD image to be used for handsoff CD installations
> >        """
> >        # Get the distro object for the requested distro
> >        # and then get all of its descendants (profiles/sub-profiles/systems)
> >
> > And elsewhere in the code:
> >
> >    if standalone:
> >            if profiles is not None or systems is not None:
> >                utils.die(self.logger,"When building a standalone ISO,
> > use --distro only instead of --profiles/--systems")
> >            elif distro is None:
> >                utils.die(self.logger,"When building a standalone ISO,
> > you must specify a --distro")
> >            if source != None and not os.path.exists(source):
> >                utils.die(self.logger,"The source specified (%s) does
> > not exist" % source)
> >
> > It looks like that will give you everything under the profiles/systems
> > and does not actually filter them to specific profiles.
> > And it should yell at you and tell you this when you try it :)
> >
> > Making it understand --profiles or --systems as a kind of blacklist
> > seems like an easy patch.
> >
> 
> Just for clarification.
> 
> When using the --standalone, you have to select *one* distro. Buildiso
> then includes all profiles and systems associated with that distro and
> includes them on the CD. This way you can do handsoff installations
> from CD.
> 
> For the netboot ISO case the --profiles and --systems parameters are
> whitelist options. Why should one want to change that behaviour to
> blacklisting for the standalone ISO case?
> 
> Maybe i just don't understand ;)
> 

Thank you for the information, Jörgen.
I am willing to try generating a standalone ISO and see what it can/cannot do 
for me.

Again, I will share what I find with the list in the hope that the info will 
help someone else.

“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to