summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
authorOliver Tappe2007-03-13 00:28:51 +0100
committerOliver Tappe2007-03-13 00:28:51 +0100
commita3f908c3cf1919130e3b6292e7c4d1e426913d9c (patch)
treef4687f0f288de318aa1621f79a920fe6e70475bd /config-db/slxconfig
parent* moved the clone-filter around to make it actually work again. (diff)
downloadcore-a3f908c3cf1919130e3b6292e7c4d1e426913d9c.tar.gz
core-a3f908c3cf1919130e3b6292e7c4d1e426913d9c.tar.xz
core-a3f908c3cf1919130e3b6292e7c4d1e426913d9c.zip
* minor cleanup
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@764 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig40
1 files changed, 15 insertions, 25 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index fdfdb68f..fc1f7bcc 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -35,8 +35,6 @@ use OpenSLX::DBSchema;
my (
$helpReq,
$manReq,
- $selection,
- $source,
$verbose,
$versionReq,
);
@@ -64,7 +62,7 @@ if ($action =~ m[^add-system$]i) {
} elsif ($action =~ m[^add-client$]i) {
addClientToConfigDB(@ARGV);
} else {
- print STDERR _tr("You need to specify exactly one action:\n\tadd-system\n");
+ print STDERR _tr("You need to specify exactly one of these actions:\n\tadd-system, add-client\n");
pod2usage(2);
}
@@ -218,13 +216,24 @@ and you can create clients for that system, too.
=head1 SYNOPSIS
-slxconfig [options] <action> <action-options>
+=head2 Adding a new System to a Vendor-OS Export
+
+ slxconfig add-system <export-name> [<attribute=value> ...]
+
+ The above syntax is used to add a new system to the config-DB. The new
+ system will use the given I<export> (an exported vendor-OS).
+
+=head2 Adding a new Client
+
+ slxos-setup clone <vendor-os-name> --source=<rsync-source>
+
+=head2 General Format
+
+ slxconfig [options] <action> <action-options>
Options:
--help brief help message
--man show full documentation
- --selection=<string> specific selection for vendor-OS
- --source=<string> (rsync-)source to clone vendor-OS from
--version show version
Actions:
@@ -242,25 +251,6 @@ Prints a brief help message and exits.
Prints the manual page and exits.
-=item B<--selection=<string>>
-
-Many distributions offer several different package selections for
-installation. With this option you can specify which of these you
-would like to use.
-
-If you pass an unknown selection, you will see a list of the selections
-that are available.
-
-In clone-mode, the selection specifies the name by which the cloned system
-will be known (exact name will be '<distro>-<selection>' instead of
-'<distro>-cloned-from-<rsync-source>').
-
-=item B<--source=<string>>
-
-When cloning a vendor-OS, slxos-setup needs to know where to fetch
-the existing OS-files from. You can specify the rsync-uri with this
-option.
-
=item B<--version>
Prints the version and exits.