summaryrefslogtreecommitdiffstats
path: root/cobbler/cobbler_msg.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/cobbler_msg.py')
-rw-r--r--cobbler/cobbler_msg.py51
1 files changed, 28 insertions, 23 deletions
diff --git a/cobbler/cobbler_msg.py b/cobbler/cobbler_msg.py
index 5fc1002..afd035f 100644
--- a/cobbler/cobbler_msg.py
+++ b/cobbler/cobbler_msg.py
@@ -7,41 +7,40 @@ Michael DeHaan <mdehaan@redhat.com>
"""
_msg_table = {
- "bad_server" : "server field in /var/lib/cobbler/settings must be set to something other than localhost, or kickstarts will fail",
- "parse_error" : "could not read %s, replacing...",
- "no_create" : "cannot create: %s",
+ "bad_server" : "The 'server' field in /var/lib/cobbler/settings must be set to something other than localhost, or kickstarting features will not work",
+ "parse_error" : "cobbler could not read %s, replacing...",
+ "no_create" : "cobbler could not create: %s",
"no_args" : "this command requires arguments.",
- "missing_options" : "cannot add, all parameters have not been set",
+ "missing_options" : "cannot perform this action, more arguments are required",
"unknown_cmd" : "cobbler doesn't understand '%s'",
- "bad_arg" : "expecting an equal sign in argument '%s'",
- "reject_arg" : "the value of parameter '%s' is not valid",
+ "bad_arg" : "cobbler was expecting an equal sign in argument '%s'",
+ "reject_arg" : "the value of parameter '%s' isn't valid",
"weird_arg" : "this command doesn't take a parameter named '%s'",
"bad_sys_name" : "system name must be a MAC, IP, or resolveable host",
"usage" : "for help, see 'man cobbler'",
"need_to_fix" : "the following potential problems were detected:",
- "need_perms" : "cobbler cannot access %s",
- "no_dhcpd" : "can't find dhcpd, try 'yum install dhcpd'",
- "no_pxelinux" : "can't find pxelinux, try 'yum install pxelinux'",
- "no_tftpd" : "can't find tftpd, try 'yum install tftpd'",
- "no_dir" : "can't find %s, need to create it",
- "chg_attrib" : "need to change '%s' to '%s' in '%s'",
- "no_exist" : "%s does not exist",
+ "need_perms" : "cobbler could not access %s",
+ "no_dhcpd" : "cobbler couldn't find dhcpd, try 'yum install dhcpd'",
+ "no_pxelinux" : "cobbler couldn't find pxelinux, try 'yum install pxelinux'",
+ "no_tftpd" : "cobbler couldn't find tftpd, try 'yum install tftpd'",
+ "no_dir" : "cobbler couldn't find %s, please create it",
+ "chg_attrib" : "need to change field '%s' value to '%s' in file '%s'",
+ "no_exist" : "file %s does not exist",
"no_line" : "file '%s' should have a line '%s' somewhere",
"no_dir2" : "can't find %s for %s as referenced in /var/lib/cobbler/settings",
- "no_cfg" : "could not find a valid /var/lib/cobbler/settings, rebuilding",
"bad_param" : "at least one parameter is missing for this function",
- "empty_list" : "(Empty)",
- "err_resolv" : "system (%s) did not resolve",
- "err_kickstart" : "kickstart (%s) for item (%s) is not valid",
- "err_kickstart2" : "error mirroring kickstart file (%s) to (%s)",
- "orphan_profile2" : "system references a non-existant profile",
- "orphan_system2" : "system does not reference a profile",
- "orphan_profile" : "removing this distro would break a profile",
- "orphan_system" : "removing this profile would break a system",
+ "empty_list" : "There are no configured items.",
+ "err_resolv" : "The system name (%s) did not resolve",
+ "err_kickstart" : "The kickstart (%s) for item (%s) is not valid",
+ "err_kickstart2" : "Error while mirroring kickstart file (%s) to (%s)",
+ "orphan_profile" : "Removing this system would break profile '%s'",
+ "orphan_profile2" : "system (%s) references a non-existant profile (%s)",
+ "orphan_distro2" : "profile (%s) references a non-existant distro (%s)",
+ "orphan_system" : "Removing this profile would break system '%s'",
"delete_nothing" : "can't delete something that doesn't exist",
"no_distro" : "distro does not exist",
"no_profile" : "profile does not exist",
- "no_kickstart" : "kickstart must be an http://, ftp:// or nfs:// URL",
+ "no_kickstart" : "kickstart must be an absolute path, or an http://, ftp:// or nfs:// URL",
"no_kernel" : "the kernel needs to be a directory containing a kernel, or a full path. Kernels must be named just 'vmlinuz' or in the form 'vmlinuz-AA.BB.CC-something'",
"sync_kernel" : "the kernel (%s) for distro (%s) cannot be found and must be fixed",
"sync_initrd" : "the initrd (%s) for distro (%s) cannot be found and must be fixed",
@@ -54,6 +53,12 @@ _msg_table = {
"copying" : "copying file: %s to %s",
"removing" : "removing: %s",
"no_initrd" : "the initrd needs to be a directory containing an initrd, or a full path. Initrds must be named just 'initrd.img' or in the form 'initrd-AA.BB.CC-something.img",
+ "exc_xen_name" : "invalid Xen name",
+ "exc_xen_file" : "invalid Xen file size",
+ "exc_xen_mac" : "invalid Xen mac address",
+ "exc_xen_para" : "invalid Xen paravirtualization setting",
+ "exc_profile" : "invalid profile name",
+ "exc_profile2" : "profile name not set",
"check_ok" : """
No setup problems found.