Msquared wrote:
Hi!
When I try to install a xenpv using koan the installation goes interactive and asks for the installation method, instead of just using cobbler's HTTP files.
I'm sure this worked with cobbler/koan 1.4.x, but now that I've rebuilt my host machine with CentOS 5.3 and installed cobbler 1.6.2 and koan 1.6.1 from EPEL, it doesn't work any more. (I'm sure I've missed something else, but I can't work out what!)
My koan install command is:
koan --virt --server=cobbler --system=testweb2
Do I have to tell Koan or Cobbler where the install tree is, or something? I thought that was handled automatically by Koan? What else could I be missing? What else might I have to do to get koan to perform a non-interactive install?
Things I've checked:
- Made sure that
- Selected a xen profile
- Run: cobbler sync
- Restarted cobblerd
Anything else I should check?
Here is /var/lib/cobbler/config/systems.d/testweb2.json
Generally you should never have to look at these files. I'll teach you a trick.
"cobbler profile report --name=foo" "cobbler system report --name=foo"
If the install is going interactive most likely what is happening is that you don't have a kickstart file that answers the right questions assigned to the profile.
"cobbler profile edit --name=foo --kickstart="/var/lib/cobbler/kickstarts/sample.ks"
The above will give you a default kickstart that should fully automate 5.3 provided you used "cobbler import" to initially create the CentOS 5.3 distribution in cobbler. If you did "cobbler distro add" you will need to supply your own template that also includes the install tree location.
{"comment": "", "kickstart": "<<inherit>>", "name_servers_search": [], "ks_meta": {}, "kernel_options_post": {}, "image": "", "redhat_management_key": "~", "virt_path": "<<inherit>>", "power_user": "", "kernel_options": {}, "name_servers": ["192.168.1.10"], "mtime": 1243412603.745317, "template_files": {}, "gateway": "192.168.1.254", "uid": "MTI0MzQxMTY3OC4wODQxNjc3OTguODI0MDI", "power_type": "virsh", "virt_cpus": 1, "hostname": "testweb2", "mgmt_classes": [], "power_pass": "", "netboot_enabled": true, "profile": "centos-5.3-xen-x86_64", "virt_bridge": "<<inherit>>", "parent": "", "virt_type": "<<inherit>>", "interfaces": {"eth0": {"dhcp_tag": "", "subnet": "255.255.255.0", "virt_bridge": "xenbr0", "static_routes": [], "dns_name": "testweb2", "ip_address": "192.168.1.16", "bonding": "", "static": true, "bonding_opts": "", "mac_address": "00:16:3e:76:95:36", "bonding_master": ""}}, "power_address": "", "virt_file_size": 10, "ctime": 1243411678.079283, "owners": ["cobbler"], "name": "testweb2", "virt_ram": 512, "power_id": "", "random_id": "9Yyj", "server": "<<inherit>>", "redhat_management_server": "~", "depth": 2}
Regards, Msquared... _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler