This commit is contained in:
ahmadbilalkhalid 2019-09-14 14:07:17 +05:00
parent 105d8d4a3a
commit 6cfb416bd7
5 changed files with 30 additions and 30 deletions

View file

@ -40,12 +40,12 @@ def setup(path, auth_name, auth_seed, auth_realm,
f"REALM_ALLOWED={list(realm_allowed)}\n"
f"OTP_SERVER={otp_server}\n"
f"ETCD_URL={etcd_url}\n"
f"VM_PREFIX=/v1/vm\n",
f"HOST_PREFIX=/v1/host\n",
f"IMAGE_PREFIX=/v1/image\n",
f"IMAGE_STORE_PREFIX=/v1/image_store\n",
f"REQUEST_PREFIX=/v1/request\n",
f"FILE_PREFIX=/v1/file\n"
f"VM_PREFIX=/v1/vm/\n",
f"HOST_PREFIX=/v1/host/\n",
f"IMAGE_PREFIX=/v1/image/\n",
f"IMAGE_STORE_PREFIX=/v1/image_store/\n",
f"REQUEST_PREFIX=/v1/request/\n",
f"FILE_PREFIX=/v1/file/\n"
)
f.writelines(content)

View file

@ -29,12 +29,12 @@ def setup(path, base_dir, file_prefix, etcd_url):
f"BASE_DIR={base_dir}\n"
f"FILE_PREFIX={file_prefix}\n"
f"ETCD_URL={etcd_url}\n",
f"VM_PREFIX=/v1/vm\n",
f"HOST_PREFIX=/v1/host\n",
f"IMAGE_PREFIX=/v1/image\n",
f"IMAGE_STORE_PREFIX=/v1/image_store\n",
f"REQUEST_PREFIX=/v1/request\n",
f"FILE_PREFIX=/v1/file\n"
f"VM_PREFIX=/v1/vm/\n",
f"HOST_PREFIX=/v1/host/\n",
f"IMAGE_PREFIX=/v1/image/\n",
f"IMAGE_STORE_PREFIX=/v1/image_store/\n",
f"REQUEST_PREFIX=/v1/request/\n",
f"FILE_PREFIX=/v1/file/\n"
)
f.writelines(content)

View file

@ -35,12 +35,12 @@ def setup(path, ssh_username, ssh_key_path, ssh_key_pass, etcd_url, without_ceph
f"ssh_private_key_password={ssh_key_pass}\n"
f"ETCD_URL={etcd_url}\n"
f"WITHOUT_CEPH={without_ceph}\n",
f"VM_PREFIX=/v1/vm\n",
f"HOST_PREFIX=/v1/host\n",
f"IMAGE_PREFIX=/v1/image\n",
f"IMAGE_STORE_PREFIX=/v1/image_store\n",
f"REQUEST_PREFIX=/v1/request\n",
f"FILE_PREFIX=/v1/file\n"
f"VM_PREFIX=/v1/vm/\n",
f"HOST_PREFIX=/v1/host/\n",
f"IMAGE_PREFIX=/v1/image/\n",
f"IMAGE_STORE_PREFIX=/v1/image_store/\n",
f"REQUEST_PREFIX=/v1/request/\n",
f"FILE_PREFIX=/v1/file/\n"
)
f.writelines(content)

View file

@ -29,12 +29,12 @@ def setup(path, base_dir, etcd_url, without_ceph):
f"BASE_DIR={base_dir}\n"
f"ETCD_URL={etcd_url}\n"
f"WITHOUT_CEPH={without_ceph}\n",
f"VM_PREFIX=/v1/vm\n",
f"HOST_PREFIX=/v1/host\n",
f"IMAGE_PREFIX=/v1/image\n",
f"IMAGE_STORE_PREFIX=/v1/image_store\n",
f"REQUEST_PREFIX=/v1/request\n",
f"FILE_PREFIX=/v1/file\n"
f"VM_PREFIX=/v1/vm/\n",
f"HOST_PREFIX=/v1/host/\n",
f"IMAGE_PREFIX=/v1/image/\n",
f"IMAGE_STORE_PREFIX=/v1/image_store/\n",
f"REQUEST_PREFIX=/v1/request/\n",
f"FILE_PREFIX=/v1/file/\n"
)
f.writelines(content)

View file

@ -33,12 +33,12 @@ def setup(path, vm_prefix, host_prefix, request_prefix, etcd_url):
f"HOST_PREFIX={host_prefix}\n"
f"REQUEST_PREFIX={request_prefix}\n"
f"ETCD_URL={etcd_url}\n",
f"VM_PREFIX=/v1/vm\n",
f"HOST_PREFIX=/v1/host\n",
f"IMAGE_PREFIX=/v1/image\n",
f"IMAGE_STORE_PREFIX=/v1/image_store\n",
f"REQUEST_PREFIX=/v1/request\n",
f"FILE_PREFIX=/v1/file\n"
f"VM_PREFIX=/v1/vm/\n",
f"HOST_PREFIX=/v1/host/\n",
f"IMAGE_PREFIX=/v1/image/\n",
f"IMAGE_STORE_PREFIX=/v1/image_store/\n",
f"REQUEST_PREFIX=/v1/request/\n",
f"FILE_PREFIX=/v1/file/\n"
)
f.writelines(content)