[cobbler] cobbler import fedora 21 failed

2015-02-25 Thread Estrella Zaton Martin

Hello,

I'm trying to import the fedora 21 distro from rsync or dvd with:

cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64

but it fails with !!! TASK FAILED !!!

After, I tried to add the distro uploaded before with:

cobbler distro add --name=fedora21-x86_64 
--ksmeta="tree=ftp://nas-deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"; 
kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz 
initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img 
--arch=x86_64 --breed=redhat --os-version=fedora21


and it seems to be ok, but if I do: cobbler distro list or cobbler 
report, no distros appear...


Is there anyone could have imported the fedora21 distro? how?

Thank you and best regards,

   Estrella

--
Estrella Zatón Martín   
Ingeniero del GSC. Servicios Informáticos Comunes.
Instituto de Astrofísica de Canarias

C/Via Lactea s/n
38200 La Laguna, Tenerife. España
Tfno: +34 922 605 320
Fax:  +34 922 605 210
email: eza...@iac.es
http://www.iac.es

-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-25 Thread Greg Swift
On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
wrote:

> Hello,
>
> I'm trying to import the fedora 21 distro from rsync or dvd with:
>
> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>
> but it fails with !!! TASK FAILED !!!
>
> After, I tried to add the distro uploaded before with:
>
> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
> --arch=x86_64 --breed=redhat --os-version=fedora21
>
> and it seems to be ok, but if I do: cobbler distro list or cobbler report,
> no distros appear...
>
> Is there anyone could have imported the fedora21 distro? how?
>
> Thank you and best regards,
>
>Estrella
>

Hi!  I'm actually in the progress of writing a blog post about this journey
:)

I can't tell what iso you are using for this, so I'm just going to give you
my summary of how i got it working. Be sure to change the arch as necessary
for your setup:

1: Import Fedora 21 Server netinstall as your distro  (same commands you
ran above but with one of these isos:
http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
)
2: Sync the Fedora/21/Everything repository (use --mirror-locally=False if
you can get away with it! :)
cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
--mirror=
http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
3: Now they have to be glued together.  You need to copy the .treeinfo and
images directories from the distro into everything repo.
cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
/var/www/cobbler/repo_mirror/fedora21-everything-64/
4: Then you need to edit the distro's tree path
cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
@@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64

I came up with this at like 1am last night, so i might not have caught
everything here.  Plus there is probably a was better method. Maybe
manually syncing the everything repo, adding the distro bits, and then
using that to do the distro import? Would definitely leave cobbler setup
cleaner, imho.

-greg
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-25 Thread Greg Swift
On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift  wrote:

>
>
> On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
> wrote:
>
>> Hello,
>>
>> I'm trying to import the fedora 21 distro from rsync or dvd with:
>>
>> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>>
>> but it fails with !!! TASK FAILED !!!
>>
>> After, I tried to add the distro uploaded before with:
>>
>> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
>> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
>> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
>> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
>> --arch=x86_64 --breed=redhat --os-version=fedora21
>>
>> and it seems to be ok, but if I do: cobbler distro list or cobbler
>> report, no distros appear...
>>
>> Is there anyone could have imported the fedora21 distro? how?
>>
>> Thank you and best regards,
>>
>>Estrella
>>
>
> Hi!  I'm actually in the progress of writing a blog post about this
> journey :)
>
> I can't tell what iso you are using for this, so I'm just going to give
> you my summary of how i got it working. Be sure to change the arch as
> necessary for your setup:
>
> 1: Import Fedora 21 Server netinstall as your distro  (same commands you
> ran above but with one of these isos:
> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
> )
> 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False if
> you can get away with it! :)
> cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
> --mirror=
> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
> 3: Now they have to be glued together.  You need to copy the .treeinfo and
> images directories from the distro into everything repo.
> cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
> /var/www/cobbler/repo_mirror/fedora21-everything-64/
> 4: Then you need to edit the distro's tree path
> cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
> @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64
>
> I came up with this at like 1am last night, so i might not have caught
> everything here.  Plus there is probably a was better method. Maybe
> manually syncing the everything repo, adding the distro bits, and then
> using that to do the distro import? Would definitely leave cobbler setup
> cleaner, imho.
>
> -greg
>

For what its worth my quickly thrown up blog post just went live:

http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/

-greg
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-25 Thread alastair
Hi Greg

There is a cobbler wiki where you can put guides like this. Maybe you can do a 
quick cut and paste?

--
Alastair Munro

-Original Message-
From: Greg Swift 
To: cobbler mailing list 
Sent: Thu, 26 Feb 2015 0:36
Subject: Re: [cobbler] cobbler import fedora 21 failed

On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift  wrote:

>
>
> On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
> wrote:
>
>> Hello,
>>
>> I'm trying to import the fedora 21 distro from rsync or dvd with:
>>
>> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>>
>> but it fails with !!! TASK FAILED !!!
>>
>> After, I tried to add the distro uploaded before with:
>>
>> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
>> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
>> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
>> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
>> --arch=x86_64 --breed=redhat --os-version=fedora21
>>
>> and it seems to be ok, but if I do: cobbler distro list or cobbler
>> report, no distros appear...
>>
>> Is there anyone could have imported the fedora21 distro? how?
>>
>> Thank you and best regards,
>>
>>Estrella
>>
>
> Hi!  I'm actually in the progress of writing a blog post about this
> journey :)
>
> I can't tell what iso you are using for this, so I'm just going to give
> you my summary of how i got it working. Be sure to change the arch as
> necessary for your setup:
>
> 1: Import Fedora 21 Server netinstall as your distro  (same commands you
> ran above but with one of these isos:
> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
> )
> 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False if
> you can get away with it! :)
> cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
> --mirror=
> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
> 3: Now they have to be glued together.  You need to copy the .treeinfo and
> images directories from the distro into everything repo.
> cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
> /var/www/cobbler/repo_mirror/fedora21-everything-64/
> 4: Then you need to edit the distro's tree path
> cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
> @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64
>
> I came up with this at like 1am last night, so i might not have caught
> everything here.  Plus there is probably a was better method. Maybe
> manually syncing the everything repo, adding the distro bits, and then
> using that to do the distro import? Would definitely leave cobbler setup
> cleaner, imho.
>
> -greg
>

For what its worth my quickly thrown up blog post just went live:

http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/

-greg
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-26 Thread Estrella Zaton Martin

Thank you Greg! it's work fine!

cobbler import --path=/mnt/iso --name=f21 
--kickstart=/var/lib/cobbler/kickstarts/default.ks

task started: 2015-02-26_112400_import
task started (id=Media import, time=Thu Feb 26 11:24:00 2015)
Found a candidate signature: breed=redhat, version=rhel6
Found a candidate signature: breed=redhat, version=rhel7
Found a candidate signature: breed=redhat, version=fedora21
Found a matching signature: breed=redhat, version=fedora21
Adding distros from path /var/www/cobbler/ks_mirror/f21:
creating new distro: f21-x86_64
trying symlink: /var/www/cobbler/ks_mirror/f21 -> 
/var/www/cobbler/links/f21-x86_64

creating new profile: f21-x86_64
associating repos
checking for rsync repo(s)
checking for rhn repo(s)
checking for yum repo(s)
starting descent into /var/www/cobbler/ks_mirror/f21 for f21-x86_64
processing repo at : /var/www/cobbler/ks_mirror/f21
need to process repo/comps: /var/www/cobbler/ks_mirror/f21
looking for /var/www/cobbler/ks_mirror/f21/repodata/*comps*.xml
Keeping repodata as-is :/var/www/cobbler/ks_mirror/f21/repodata
*** TASK COMPLETE ***

Best regards,
 Estrella

On 02/25/2015 05:36 PM, Greg Swift wrote:



On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift > wrote:




On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin
mailto:eza...@iac.es>> wrote:

Hello,

I'm trying to import the fedora 21 distro from rsync or dvd with:

cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64

but it fails with !!! TASK FAILED !!!

After, I tried to add the distro uploaded before with:

cobbler distro add --name=fedora21-x86_64

--ksmeta="tree=ftp://nas-deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/";
kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz

initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
--arch=x86_64 --breed=redhat --os-version=fedora21

and it seems to be ok, but if I do: cobbler distro list or
cobbler report, no distros appear...

Is there anyone could have imported the fedora21 distro? how?

Thank you and best regards,

   Estrella


Hi!  I'm actually in the progress of writing a blog post about
this journey :)

I can't tell what iso you are using for this, so I'm just going to
give you my summary of how i got it working. Be sure to change the
arch as necessary for your setup:

1: Import Fedora 21 Server netinstall as your distro  (same
commands you ran above but with one of these isos:
http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
)
2: Sync the Fedora/21/Everything repository (use
--mirror-locally=False if you can get away with it! :)
cobbler repo add --name=fedora21-everything-64 --breed=yum
--arch=x86_64

--mirror=http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/

3: Now they have to be glued together.  You need to copy the
.treeinfo and images directories from the distro into everything repo.
cp -pr
/var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
/var/www/cobbler/repo_mirror/fedora21-everything-64/
4: Then you need to edit the distro's tree path
cobbler distro edit --name=fedora21-x86_64

--ksmeta=tree=http://@@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64

I came up with this at like 1am last night, so i might not have
caught everything here.  Plus there is probably a was better
method. Maybe manually syncing the everything repo, adding the
distro bits, and then using that to do the distro import? Would
definitely leave cobbler setup cleaner, imho.

-greg


For what its worth my quickly thrown up blog post just went live:

http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/

-greg


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


--
Estrella Zatón Martín   
Ingeniero del GSC. Servicios Informáticos Comunes.
Instituto de Astrofísica de Canarias

C/Via Lactea s/n
38200 La Laguna, Tenerife. España
Tfno: +34 922 605 320
Fax:  +34 922 605 210
email: eza...@iac.es
http://www.iac.es


-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-26 Thread Jörgen Maas
+1
That would be very nice indeed! :)



On Thu, Feb 26, 2015 at 1:32 AM,  wrote:

> Hi Greg
>
> There is a cobbler wiki where you can put guides like this. Maybe you can
> do a quick cut and paste?
>
> --
> Alastair Munro
>
>
> -Original Message-
> From: Greg Swift 
> To: cobbler mailing list 
> Sent: Thu, 26 Feb 2015 0:36
> Subject: Re: [cobbler] cobbler import fedora 21 failed
>
>
>
> On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift  wrote:
>
>>
>>
>> On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
>> wrote:
>>
>>> Hello,
>>>
>>> I'm trying to import the fedora 21 distro from rsync or dvd with:
>>>
>>> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>>>
>>> but it fails with !!! TASK FAILED !!!
>>>
>>> After, I tried to add the distro uploaded before with:
>>>
>>> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
>>> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
>>> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
>>> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
>>> --arch=x86_64 --breed=redhat --os-version=fedora21
>>>
>>> and it seems to be ok, but if I do: cobbler distro list or cobbler
>>> report, no distros appear...
>>>
>>> Is there anyone could have imported the fedora21 distro? how?
>>>
>>> Thank you and best regards,
>>>
>>>Estrella
>>>
>>
>> Hi!  I'm actually in the progress of writing a blog post about this
>> journey :)
>>
>> I can't tell what iso you are using for this, so I'm just going to give
>> you my summary of how i got it working. Be sure to change the arch as
>> necessary for your setup:
>>
>> 1: Import Fedora 21 Server netinstall as your distro  (same commands you
>> ran above but with one of these isos:
>>
>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
>> )
>> 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False
>> if you can get away with it! :)
>> cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
>> --mirror=
>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
>> 3: Now they have to be glued together.  You need to copy the .treeinfo
>> and images directories from the distro into everything repo.
>> cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
>> /var/www/cobbler/repo_mirror/fedora21-everything-64/
>> 4: Then you need to edit the distro's tree path
>> cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
>> @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64
>>
>> I came up with this at like 1am last night, so i might not have caught
>> everything here.  Plus there is probably a was better method. Maybe
>> manually syncing the everything repo, adding the distro bits, and then
>> using that to do the distro import? Would definitely leave cobbler setup
>> cleaner, imho.
>>
>> -greg
>>
>
> For what its worth my quickly thrown up blog post just went live:
>
>
> http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/
>
> -greg
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>


-- 
Grtz,
Jörgen Maas
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-02-28 Thread Greg Swift
https://github.com/cobbler/cobbler/wiki/Fedora-21

And added a note about a bug with list-harddrives in the Fedora 21 stage2
environment.

On Thu, Feb 26, 2015 at 2:31 PM, Jörgen Maas  wrote:

> +1
> That would be very nice indeed! :)
>
>
>
> On Thu, Feb 26, 2015 at 1:32 AM,  wrote:
>
>> Hi Greg
>>
>> There is a cobbler wiki where you can put guides like this. Maybe you can
>> do a quick cut and paste?
>>
>> --
>> Alastair Munro
>>
>>
>> -Original Message-
>> From: Greg Swift 
>> To: cobbler mailing list 
>> Sent: Thu, 26 Feb 2015 0:36
>> Subject: Re: [cobbler] cobbler import fedora 21 failed
>>
>>
>>
>> On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift  wrote:
>>
>>>
>>>
>>> On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm trying to import the fedora 21 distro from rsync or dvd with:
>>>>
>>>> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>>>>
>>>> but it fails with !!! TASK FAILED !!!
>>>>
>>>> After, I tried to add the distro uploaded before with:
>>>>
>>>> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
>>>> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
>>>> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
>>>> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
>>>> --arch=x86_64 --breed=redhat --os-version=fedora21
>>>>
>>>> and it seems to be ok, but if I do: cobbler distro list or cobbler
>>>> report, no distros appear...
>>>>
>>>> Is there anyone could have imported the fedora21 distro? how?
>>>>
>>>> Thank you and best regards,
>>>>
>>>>Estrella
>>>>
>>>
>>> Hi!  I'm actually in the progress of writing a blog post about this
>>> journey :)
>>>
>>> I can't tell what iso you are using for this, so I'm just going to give
>>> you my summary of how i got it working. Be sure to change the arch as
>>> necessary for your setup:
>>>
>>> 1: Import Fedora 21 Server netinstall as your distro  (same commands you
>>> ran above but with one of these isos:
>>>
>>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
>>> )
>>> 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False
>>> if you can get away with it! :)
>>> cobbler repo add --name=fedora21-everything-64 --breed=yum --arch=x86_64
>>> --mirror=
>>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
>>> 3: Now they have to be glued together.  You need to copy the .treeinfo
>>> and images directories from the distro into everything repo.
>>> cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
>>> /var/www/cobbler/repo_mirror/fedora21-everything-64/
>>> 4: Then you need to edit the distro's tree path
>>> cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
>>> @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64
>>>
>>> I came up with this at like 1am last night, so i might not have caught
>>> everything here.  Plus there is probably a was better method. Maybe
>>> manually syncing the everything repo, adding the distro bits, and then
>>> using that to do the distro import? Would definitely leave cobbler setup
>>> cleaner, imho.
>>>
>>> -greg
>>>
>>
>> For what its worth my quickly thrown up blog post just went live:
>>
>>
>> http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/
>>
>> -greg
>>
>> ___
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>>
>
>
> --
> Grtz,
> Jörgen Maas
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import fedora 21 failed

2015-03-01 Thread Jörgen Maas
Thanks!

On Sun, Mar 1, 2015 at 12:11 AM, Greg Swift  wrote:

> https://github.com/cobbler/cobbler/wiki/Fedora-21
>
> And added a note about a bug with list-harddrives in the Fedora 21 stage2
> environment.
>
> On Thu, Feb 26, 2015 at 2:31 PM, Jörgen Maas 
> wrote:
>
>> +1
>> That would be very nice indeed! :)
>>
>>
>>
>> On Thu, Feb 26, 2015 at 1:32 AM,  wrote:
>>
>>> Hi Greg
>>>
>>> There is a cobbler wiki where you can put guides like this. Maybe you
>>> can do a quick cut and paste?
>>>
>>> --
>>> Alastair Munro
>>>
>>>
>>> -----Original Message-
>>> From: Greg Swift 
>>> To: cobbler mailing list 
>>> Sent: Thu, 26 Feb 2015 0:36
>>> Subject: Re: [cobbler] cobbler import fedora 21 failed
>>>
>>>
>>>
>>> On Wed, Feb 25, 2015 at 11:11 AM, Greg Swift 
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Feb 25, 2015 at 8:53 AM, Estrella Zaton Martin 
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to import the fedora 21 distro from rsync or dvd with:
>>>>>
>>>>> cobbler import --path=/mnt/iso --name=fedora21 --arch=x86_64
>>>>>
>>>>> but it fails with !!! TASK FAILED !!!
>>>>>
>>>>> After, I tried to add the distro uploaded before with:
>>>>>
>>>>> cobbler distro add --name=fedora21-x86_64 --ksmeta="tree=ftp://nas-
>>>>> deploy.ll.iac.es/media/fedora/releases/21/Fedora/x86_64/os/"
>>>>> kernel=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/vmlinuz
>>>>> initrd=/var/www/cobbler/ks_mirror/fedora21-x86_64/images/pxeboot/initrd.img
>>>>> --arch=x86_64 --breed=redhat --os-version=fedora21
>>>>>
>>>>> and it seems to be ok, but if I do: cobbler distro list or cobbler
>>>>> report, no distros appear...
>>>>>
>>>>> Is there anyone could have imported the fedora21 distro? how?
>>>>>
>>>>> Thank you and best regards,
>>>>>
>>>>>Estrella
>>>>>
>>>>
>>>> Hi!  I'm actually in the progress of writing a blog post about this
>>>> journey :)
>>>>
>>>> I can't tell what iso you are using for this, so I'm just going to give
>>>> you my summary of how i got it working. Be sure to change the arch as
>>>> necessary for your setup:
>>>>
>>>> 1: Import Fedora 21 Server netinstall as your distro  (same commands
>>>> you ran above but with one of these isos:
>>>>
>>>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/
>>>> )
>>>> 2: Sync the Fedora/21/Everything repository (use --mirror-locally=False
>>>> if you can get away with it! :)
>>>> cobbler repo add --name=fedora21-everything-64 --breed=yum
>>>> --arch=x86_64 --mirror=
>>>> http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
>>>> 3: Now they have to be glued together.  You need to copy the .treeinfo
>>>> and images directories from the distro into everything repo.
>>>> cp -pr /var/www/cobbler/ks_mirror/fedora21/{.treeinfo,LiveOS,images}
>>>> /var/www/cobbler/repo_mirror/fedora21-everything-64/
>>>> 4: Then you need to edit the distro's tree path
>>>> cobbler distro edit --name=fedora21-x86_64 --ksmeta=tree=http://
>>>> @@http_server@@/cblr/repo_mirror/fedora21-everything-x86_64
>>>>
>>>> I came up with this at like 1am last night, so i might not have caught
>>>> everything here.  Plus there is probably a was better method. Maybe
>>>> manually syncing the everything repo, adding the distro bits, and then
>>>> using that to do the distro import? Would definitely leave cobbler setup
>>>> cleaner, imho.
>>>>
>>>> -greg
>>>>
>>>
>>> For what its worth my quickly thrown up blog post just went live:
>>>
>>>
>>> http://nytefyre.net/2015/02/kickstarting-fedora-21-workstation-with-cobbler/
>>>
>>> -greg
>>>
>>> ___
>>> cobbler mailing list
>>> cobbler@lists.fedorahosted.org
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>>
>>
>> --
>> Grtz,
>> Jörgen Maas
>>
>> ___
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>>
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>


-- 
Grtz,
Jörgen Maas
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler