Ensure myhostname is short
PVC now uses shortnames for node names, so ensure this is reflected in the default choices for some node-level commands.
This commit is contained in:
parent
8ef21cf9f2
commit
69462d2c7b
|
@ -38,7 +38,7 @@ import client_lib.network as pvc_network
|
||||||
import client_lib.ceph as pvc_ceph
|
import client_lib.ceph as pvc_ceph
|
||||||
#import client_lib.provisioner as pvc_provisioner
|
#import client_lib.provisioner as pvc_provisioner
|
||||||
|
|
||||||
myhostname = socket.gethostname()
|
myhostname = socket.gethostname().split('.')[0]
|
||||||
zk_host = ''
|
zk_host = ''
|
||||||
|
|
||||||
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'], max_content_width=120)
|
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'], max_content_width=120)
|
||||||
|
|
Loading…
Reference in New Issue