Comment 8 for bug 765224

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: import from mini.iso fails

Ok so after looking at it now, it seems that the issue is self.process_repos() when issuing the following command:

cobbler import --name=natty-i386 --path=/mnt --breed=ubuntu --os-version=natty

Apparently there's some kind of incompatibilities as there are two functions with the same name. One does nothing, the other creates repositories for the newly added distros and is hardcoded to:

repo.set_mirror( "http://ftp.%s.debian.org/debian/dists/%s" % ( 'us' , '@@suite@@' ) )
and
security_repo.set_mirror( "http://security.debian.org/debian-security/dists/%s/updates" % '@@suite@@' )

However, this function doesn't in fact seem to be used at all and I believe it might not even be necessary. or, it was some left over from unfinished code. I'd say that for now, the safest bet would be to not call the function in question to avoid the failure.

When doing so, the mini ISO imports correctly and as mentioned, but it does not point to any preseed (and the ISO doesn't come with any either).

I'll keep investigating but for now It will just be enough to patch that out (ignore the call to the function).