diff options
| author | Andy Grover <agrover@redhat.com> | 2013-02-07 12:58:38 -0800 |
|---|---|---|
| committer | Andy Grover <agrover@redhat.com> | 2013-02-07 12:58:38 -0800 |
| commit | df39c0a0392af3baccdc2fbf6173731f5ca7bcde (patch) | |
| tree | 966ecd4c9188c3e6598289844da32753c6b86596 /scripts | |
| parent | b618dd3bc4ab203bcb36529b05e6dc6295c0a97b (diff) | |
| download | targetcli-df39c0a0392af3baccdc2fbf6173731f5ca7bcde.tar.gz | |
model alias follow-up
Don't raise an exception if we can't set emulate_model_alias, just
print a diagnostic.
Rename ui_set_model_alias to setup_model_alias. 'setup' seems a little
more accurate since we don't always set model alias, it depends on
the preference.
Rename export_backstore_as_model pref to export_backstore_name_as_model.
Add a configshell default for export_backstore_name_as_model, set to True.
Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/targetcli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/targetcli b/scripts/targetcli index 3d5a34a..a2cbff1 100755 --- a/scripts/targetcli +++ b/scripts/targetcli @@ -42,6 +42,7 @@ class TargetCLI(ConfigShell): 'tree_status_mode': True, 'tree_round_nodes': True, 'tree_show_root': True, + 'export_backstore_name_as_model': True, 'auto_enable_tpgt': True, 'auto_add_mapped_luns': True, 'auto_cd_after_create': False, |
