On Wed, Nov 23, 2011 at 1:50 AM, Michael DeHaan
<michael.dehaan(a)gmail.com> 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 ;)
--
Grtz,
Jörgen Maas