diff options
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-x | config-db/slxconfig | 40 |
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. |