diff options
-rw-r--r-- | installer/OpenSLX/OSExport/Engine.pm | 4 | ||||
-rwxr-xr-x | installer/slxos-export | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm index 03c4c224..6329f245 100644 --- a/installer/OpenSLX/OSExport/Engine.pm +++ b/installer/OpenSLX/OSExport/Engine.pm @@ -237,8 +237,10 @@ sub addExportToConfigDB 'type' => $self->{'export-type'}, } ); - vlog 0, _tr("Export '%s' has been added to DB (ID=%s).\n", + vlog 0, _tr("Export '%s' has been added to DB (ID=%s)...\n", $exportName, $id); + # now create a default system for that export, using the standard kernel: + system("slxconfig add-system $exportName"); } $openslxDB->disconnect(); diff --git a/installer/slxos-export b/installer/slxos-export index b3af06d4..7890166e 100755 --- a/installer/slxos-export +++ b/installer/slxos-export @@ -153,7 +153,7 @@ slxos-export [options] <action> =over 8 -=item B<< add <vendor-OS-name> <export-type> >> +=item B<< export <vendor-OS-name> <export-type> >> exports the vendor-OS with the given name using the given export type and adds it to the config-DB, too @@ -236,7 +236,7 @@ Prints the version and exits. =head3 Exporting a Vendor-OS via NFS -=item B<< slxos-export add suse-10.2 nfs >> +=item B<< slxos-export export suse-10.2 nfs >> Exports the installed vendor-OS suse-10.2 via nfs, the resulting NFS-export will live in C</srv/openslx/export/nfs/suse-10.2>. @@ -247,7 +247,7 @@ resulting NFS-export will live in C</srv/openslx/export/nfs/suse-10.2>. =over 8 -=item B<< slxos-export add ubuntu-6.10 nbd-squash >> +=item B<< slxos-export export ubuntu-6.10 nbd-squash >> Exports the installed vendor-OS ubuntu-6.10 via nbd-squash, the resulting Squash-FS will live in C</srv/openslx/export/nbd-squash/ubuntu-6.10>. |