アクティベーションキー

The following spacecmd commands are available for use with activation keys.

1. activationkey_addchildchannels

Add child channels to an activation key.

使用方法: activationkey_addchildchannels キー <チャンネル ...>

2. activationkey_addconfigchannels

Add configuration channels to an activation key.

usage: activationkey_addconfigchannels KEY <CHANNEL ...> [options]

options:
  -t add channels to the top of the list
  -b add channels to the bottom of the list

3. activationkey_addentitlements

Add available entitlements to an activation key.

使用方法: activationkey_addentitlements キー <エンタイトルメント ...>

In the WebUI entitlements are known as System Types. Nevertheless the spacecmd backend still utilizes the entitlements term. Therefore any scripts you may be using can remain unchanged.

4. activationkey_addgroups

Add existing groups to an activation key.

使用方法: activationkey_addgroups キー <グループ ...>

5. activationkey_addpackages

Add packages to an activation key.

使用方法: activationkey_addpackages キー <パッケージ ...>

6. activationkey_clone

Clone an existing activation key.

usage examples:
                 activationkey_clone foo_key -c bar_key
                 activationkey_clone foo_key1 foo_key2 -c prefix
                 activationkey_clone foo_key -x "s/foo/bar"
                 activationkey_clone foo_key1 foo_key2 -x "s/foo/bar"

options:
  -c CLONE_NAME  : Name of the resulting key, treated as a prefix for multiple
                   keys
  -x "s/foo/bar" : Optional regex replacement, replaces foo with bar in the
                   clone description, base-channel label, child-channel
                   labels, config-channel names

7. activationkey_create

Create a new activation key.

usage: activationkey_create [options]

options:
  -n NAME
  -d DESCRIPTION
  -b BASE_CHANNEL
  -u set key as universal default
  -e [enterprise_entitled,virtualization_host]

8. activationkey_delete

Delete an existing activation key.

使用方法: activationkey_delete キー

9. activationkey_details

Show details of an existing activation key.

使用方法: activationkey_details キー ...

10. activationkey_diff

Check the difference between two activation keys.

usage: activationkey_diff SOURCE_ACTIVATIONKEY TARGET_ACTIVATIONKEY

11. activationkey_disable

Disable an existing activation key.

使用方法: activationkey_disable キー [キー ...]

12. activationkey_disableconfigdeployment

Disable configuration channel deployment for an existing activation key.

使用方法: activationkey_disableconfigdeployment キー

13. activationkey_enable

Enable an existing activation key.

使用方法: activationkey_enable キー [キー ...]

14. activationkey_enableconfigdeployment

Enable configuration channel deployment for an existing activation key.

使用方法: activationkey_enableconfigdeployment キー

15. activationkey_export

Export activation keys to a JSON formatted file.

usage: activationkey_export [options] [<KEY> ...]

options:
    -f outfile.json : specify an output filename, defaults to <KEY>.json
                      if exporting a single key, akeys.json for multiple keys,
                      or akey_all.json if no KEY specified (export ALL)

Note : KEY list is optional, default is to export ALL keys

16. activationkey_import

Import activation keys from JSON files

使用方法: activationkey_import <JSONファイル ...>

17. activationkey_list

List all existing activation keys.

使用方法: activationkey_list

18. activationkey_listbasechannel

List the base channel associated with an activation key.

使用方法: activationkey_listbasechannel キー

19. activationkey_listchildchannels

List child channels associated with an activation key.

使用方法: activationkey_listchildchannels キー

20. activationkey_listconfigchannels

List configuration channels associated with an activation key.

使用方法: activationkey_listconfigchannels キー

21. activationkey_listentitlements

List entitlements associated with an activation key.

使用方法: activationkey_listentitlements キー

22. activationkey_listgroups

List groups associated with an activation key

使用方法: activationkey_listgroups キー

23. activationkey_listpackages

List packages associated with an activation key.

使用方法: activationkey_listpackages キー

24. activationkey_listsystems

List systems registered with an activation key.

使用方法: activationkey_listsystems キー

25. activationkey_removechildchannels

Remove child channels from an activation key.

使用方法: activationkey_removechildchannels キー <チャンネル ...>

26. activationkey_removeconfigchannels

Remove configuration channels from an activation key.

使用方法: activationkey_removeconfigchannels キー <チャンネル ...>

27. activationkey_removeentitlements

Remove entitlements from an activation key.

使用方法: activationkey_removeentitlements キー <エンタイトルメント ...>

28. activationkey_removegroups

Remove groups from an activation key.

使用方法: activationkey_removegroups キー <グループ ...>

29. activationkey_removepackages

Remove packages from an activation key.

使用方法: activationkey_removepackages キー <パッケージ ...>

30. activationkey_setbasechannel

Set the base channel for an activation key.

使用方法: activationkey_setbasechannel キー チャンネル

31. activationkey_setconfigchannelorder

Set the ranked order of configuration channels.

使用方法: activationkey_setconfigchannelorder キー

32. activationkey_setcontactmethod

Set the contact method to use for systems registered with a specific key. (Use the XML-RPC API to access the latest contact methods.) The following contact methods are available for use with traditional spacecmd: ['default', 'ssh-push', 'ssh-push-tunnel']

使用方法: activationkey_setcontactmethod キー 連絡方法

33. activationkey_setdescription

Add a description for an activation key.

使用方法: activationkey_setdescription キー 説明

34. activationkey_setuniversaldefault

Set a specific key as the universal default.

使用方法: activationkey_setuniversaldefault キー

Using a universal default key is not a Best Practice recommendation.

35. activationkey_setusagelimit

Set the usage limit of an activation key, can be a number or unlimited.

usage: activationkey_setbasechannel KEY <usage limit> usage: activationkey_setbasechannel KEY unlimited

Usage limits are only applicable to traditionally managed systems. Currently usage limits do not apply to Salt or foreign managed systems.