Is this now depricated in 1.6 ??
+------+ Kickstart Error +-------+ | | | Unknown Url method $tree | | | | +----+ | | | OK | | | +----+ | | | | | +--------------------------------+
and the template looks like
# Use network installation url --url=$tree
thanks
Tom Brown wrote:
Is this now depricated in 1.6 ??
+------+ Kickstart Error
+-------+ | | | Unknown Url method $tree | | | | +----+ | | | OK | | | +----+ | | | | | +--------------------------------+
and the template looks like
# Use network installation url --url=$tree
thanks _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
No, it's not. Most likely you just haven't imported this distro, so it's not defined, but let's make sure.
Can you paste a "cobbler distro report --name=foo" && "cobbler profile getks --name=bar" please?
--Michael
No, it's not. Most likely you just haven't imported this distro, so it's not defined, but let's make sure.
should be as if i replace $tree in the kickstart with url --url=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64 it works as expected
Can you paste a "cobbler distro report --name=foo" && "cobbler profile getks --name=bar" please?
# cobbler distro report --name=CentOS-5.2-xen-x86_64 distro : CentOS-5.2-xen-x86_64 architecture : x86_64 breed : redhat created : Thu Jan 1 01:00:00 1970 comment : initrd : /var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/initrd.img kernel : /var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/vmlinuz kernel options : {} ks metadata : {} tree build time : N/A modified : Thu Jan 1 01:00:00 1970 mgmt classes : [] os version : owners : ['admin'] post kernel options : {} redhat mgmt key : <<inherit>> redhat mgmt server : <<inherit>> template files : {}
# cobbler profile getks --name=CentOS-5.2-xen-x86_64 | grep url url --url=$tree
Tom Brown wrote:
No, it's not. Most likely you just haven't imported this distro, so it's not defined, but let's make sure.
should be as if i replace $tree in the kickstart with url --url=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64 it works as expected
Can you paste a "cobbler distro report --name=foo" && "cobbler profile getks --name=bar" please?
# cobbler distro report --name=CentOS-5.2-xen-x86_64 distro : CentOS-5.2-xen-x86_64 architecture : x86_64 breed : redhat created : Thu Jan 1 01:00:00 1970 comment : initrd : /var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/initrd.img kernel : /var/www/cobbler/ks_mirror/CentOS-5.2-x86_64/images/xen/vmlinuz kernel options : {} ks metadata : {} tree build time : N/A modified : Thu Jan 1 01:00:00 1970 mgmt classes : [] os version : owners : ['admin'] post kernel options : {} redhat mgmt key : <<inherit>> redhat mgmt server : <<inherit>> template files : {}
# cobbler profile getks --name=CentOS-5.2-xen-x86_64 | grep url url --url=$tree
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
You have somehow created or imported the distro without having the "tree" data in it.
cobbler distro edit --name=CentOS-5.2-xen-x86_64 --ksmeta="tree=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64"
Will put it back...
Just out of curiosity, is this an upgrade from a previous install? How did this distro come to exist? Any chance of clearing out the ksmeta field in the command line or web app? (Perhaps check /var/lib/cobbler/backup ... to see what the config file looked like before the RPM install, if this was an upgrade?)
You have somehow created or imported the distro without having the "tree" data in it.
cobbler distro edit --name=CentOS-5.2-xen-x86_64 --ksmeta="tree=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64"
Will put it back...
Just out of curiosity, is this an upgrade from a previous install? How did this distro come to exist? Any chance of clearing out the ksmeta field in the command line or web app? (Perhaps check /var/lib/cobbler/backup ... to see what the config file looked like before the RPM install, if this was an upgrade?)
its an upgrade from 1.4.3 i think - or maybe a base 1.4 i cant remember but the distro existed as it was imported with a distro import as 'normal'
# cobbler profile getks --name=CentOS-5.2-xen-x86_64 | grep url url --url=http://192.168.11.1/cblr/links/CentOS-5.2-xen-x86_64
better thanks
Tom Brown wrote:
You have somehow created or imported the distro without having the "tree" data in it.
cobbler distro edit --name=CentOS-5.2-xen-x86_64 --ksmeta="tree=http://@@server@@/cblr/links/CentOS-5.2-xen-x86_64"
Will put it back...
Just out of curiosity, is this an upgrade from a previous install? How did this distro come to exist? Any chance of clearing out the ksmeta field in the command line or web app? (Perhaps check /var/lib/cobbler/backup ... to see what the config file looked like before the RPM install, if this was an upgrade?)
its an upgrade from 1.4.3 i think - or maybe a base 1.4 i cant remember but the distro existed as it was imported with a distro import as 'normal'
# cobbler profile getks --name=CentOS-5.2-xen-x86_64 | grep url url --url=http://192.168.11.1/cblr/links/CentOS-5.2-xen-x86_64
better thanks _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
I need to know if the file in /var/lib/cobbler/backup is any different from the distro file to verify the upgrade did not muck with settings. Please share it with me.
1.4.3 was already using the new parser/emitter so I don't expect that to be the case, so I hope it was accidentally cleared somehow.
Thanks!
--Michael
I need to know if the file in /var/lib/cobbler/backup is any different from the distro file to verify the upgrade did not muck with settings. Please share it with me.
1.4.3 was already using the new parser/emitter so I don't expect that to be the case, so I hope it was accidentally cleared somehow.
can you let me know what you'd like me to diff as if i diff the profile then
# diff /var/lib/cobbler/config/profiles.d/CentOS-5.2-xen-x86_64 /var/lib/cobbler/backup/config/profiles.d/CentOS-5.2-xen-x86_64 2c2 < ctime: 1236854603.91136 ---
ctime: 0
9c9 < kickstart: /var/lib/cobbler/kickstarts/kickstart-CentOS-5.2-xen-x86_64.ks ---
kickstart: /etc/cobbler/default.ks
12c12 < mtime: 1236854603.91136 ---
mtime: 0
15d14 < name_servers_search: [] 18d16 < random_id: kdG3 20d17 < redhat_management_server: <<inherit>>
thanks
Tom Brown wrote:
I need to know if the file in /var/lib/cobbler/backup is any different from the distro file to verify the upgrade did not muck with settings. Please share it with me.
1.4.3 was already using the new parser/emitter so I don't expect that to be the case, so I hope it was accidentally cleared somehow.
can you let me know what you'd like me to diff as if i diff the profile then
# diff /var/lib/cobbler/config/profiles.d/CentOS-5.2-xen-x86_64 /var/lib/cobbler/backup/config/profiles.d/CentOS-5.2-xen-x86_64 2c2
< ctime: 1236854603.91136
ctime: 0
9c9
< kickstart: /var/lib/cobbler/kickstarts/kickstart-CentOS-5.2-xen-x86_64.ks
kickstart: /etc/cobbler/default.ks
12c12
< mtime: 1236854603.91136
mtime: 0
15d14 < name_servers_search: [] 18d16 < random_id: kdG3 20d17 < redhat_management_server: <<inherit>>
thanks
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Just attach the two distro files and that's all I need. I can diff them. Send them off-list if you like...
--Michael
Hello,
I would like to change the pxe menu in the following way - Instead of $profile_name as a menu label I would like 'Install $profile_name".
I tried changing /etc/cobbler/pxe/pxeprofile.template and running 'cobbler sync'. The menu did not change.
Which file should be edited?
Thanks, Anu
Anu Ramachandra wrote:
Hello,
I would like to change the pxe menu in the following way - Instead of $profile_name as a menu label I would like 'Install $profile_name".
I tried changing /etc/cobbler/pxe/pxeprofile.template and running 'cobbler sync'. The menu did not change.
Which file should be edited?
Thanks, Anu
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Please paste the template file you have in /etc/cobbler/pxe/pxeprofile.template.
--Michael
On Thu, 12 Mar 2009 11:23:19 -0400, Michael DeHaan mdehaan@redhat.com wrote:
Anu Ramachandra wrote:
Hello,
I would like to change the pxe menu in the following way - Instead of $profile_name as a menu label I would like 'Install $profile_name".
I tried changing /etc/cobbler/pxe/pxeprofile.template and running 'cobbler sync'. The menu did not change.
Which file should be edited?
Thanks, Anu
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Please paste the template file you have in /etc/cobbler/pxe/pxeprofile.template.
--Michael
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
If this is for the windows stuff, you'll have to edit pxeprofile_win.template. Also, there are different templates for systems and profiles, so if you're actually looking at a system label you'll need to edit those templates, then re-sync.
Michael DeHaan wrote:
Tom Brown wrote:
I need to know if the file in /var/lib/cobbler/backup is any different from the distro file to verify the upgrade did not muck with settings. Please share it with me.
1.4.3 was already using the new parser/emitter so I don't expect that to be the case, so I hope it was accidentally cleared somehow.
can you let me know what you'd like me to diff as if i diff the profile then
# diff /var/lib/cobbler/config/profiles.d/CentOS-5.2-xen-x86_64 /var/lib/cobbler/backup/config/profiles.d/CentOS-5.2-xen-x86_64 2c2
< ctime: 1236854603.91136
ctime: 0
9c9
< kickstart: /var/lib/cobbler/kickstarts/kickstart-CentOS-5.2-xen-x86_64.ks
kickstart: /etc/cobbler/default.ks
12c12
< mtime: 1236854603.91136
mtime: 0
15d14 < name_servers_search: [] 18d16 < random_id: kdG3 20d17 < redhat_management_server: <<inherit>>
thanks
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Just attach the two distro files and that's all I need. I can diff them. Send them off-list if you like...
--Michael
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Looking at Tom's config, there was no tree variable defined earlier, so perhaps his initial import had failed or it was cleared previously.
1.6.0 itself didn't do anything to erase it.
--Michael
Hi,
On Thu, Mar 12, 2009 at 11:21:56AM -0400, Michael DeHaan wrote:
Looking at Tom's config, there was no tree variable defined earlier, so perhaps his initial import had failed or it was cleared previously.
1.6.0 itself didn't do anything to erase it.
I see the same problem. To make sure it is not a bad upgrade history I nuked everything and started from scratch. The following command
for basearch in x86_64 i386; do for releasever in 10 11; do distarch=f${releasever}-$basearch cobbler import \ --name=$distarch \ --arch=$basearch --breed=redhat \ --path=/storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Fedora/$basearch/os \ --available-as=http://192.168.100.1/download.fedora.redhat.com/pub/fedora/linux/releases/$r... done done
only creates "tree" variables for Fedora 10. The otherwise not yet existing F11 path above has been symlinked from rawhide as
mkdir -p /storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/11/ rm -f /storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/11/Everything rm -f /storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/11/Fedora ln -s ../../development /storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/11/Everything ln -s ../../development /storage/public/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/11/Fedora
Axel Thimm wrote:
Hi,
On Thu, Mar 12, 2009 at 11:21:56AM -0400, Michael DeHaan wrote:
Looking at Tom's config, there was no tree variable defined earlier, so perhaps his initial import had failed or it was cleared previously.
1.6.0 itself didn't do anything to erase it.
You're replying to a relatively old post. Anyway, F-11 imports are supported in 1.6.5 and onward. Rawhide imports are not supported, and may or may not work, depending on rawhide structure at any given time.
If you encounter problems, use "cobbler distro add" instead, import is merely a shortcut around distro-add and profile-add.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org