Platform Team/Server Kit/sugar-unit: Difference between revisions
m →Actions |
m →Launch |
||
| Line 44: | Line 44: | ||
The first command-line argument that scenario should get is a nick of sugar user. That nick will be used as a directory name in {{Code|--root}} directory to store all data related to this nick. Besides, scenario should take {{Code|--server}} command-line argument with launched [[Sugar_Server_Kit/sugar-server|sugar-server]] address and {{Code|--lease_key}} with a path to public key that was used to sign leases returned by sugar-server. | The first command-line argument that scenario should get is a nick of sugar user. That nick will be used as a directory name in {{Code|--root}} directory to store all data related to this nick. Besides, scenario should take {{Code|--server}} command-line argument with launched [[Sugar_Server_Kit/sugar-server|sugar-server]] address and {{Code|--lease_key}} with a path to public key that was used to sign leases returned by sugar-server. | ||
To simplify usage, | To simplify usage, serial number and UUID will be automatically generated basing on nick names. Thus, there is a fast way how to let sugar-server know about leases for scenario nicks: | ||
bc-make-lease `sugaroid id ''nick''` ''days'' | sugar-server activation import_lease | bc-make-lease `sugaroid id ''nick''` ''days'' | sugar-server activation import_lease | ||