diff options
Diffstat (limited to 'boot-env/preboot/http-server')
| -rwxr-xr-x | boot-env/preboot/http-server/user_settings.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boot-env/preboot/http-server/user_settings.pl b/boot-env/preboot/http-server/user_settings.pl index b92027e9..a712d827 100755 --- a/boot-env/preboot/http-server/user_settings.pl +++ b/boot-env/preboot/http-server/user_settings.pl @@ -42,8 +42,12 @@ die "must give 'system' ($system), 'client' ($client) and 'preboot_id' ($preboot my $webPath = "$openslxConfig{'public-path'}/preboot"; my $src = "$webPath/client-config/$system/$prebootID.tgz"; my $destPath = "$webPath/$prebootID/client-config/$system"; -mkpath($destPath/$client); +mkpath($destPath."/".$client); system(qq{tar -xz $src -C $destPath/$client/}); + +# from here on the modifications of client configuration should take place +# within $destPath/$client directory + system(qq{cd $destPath/$client; tar -czf $destPath/$client.tgz *}); unlink("$destPath/$client"); |
