diff options
author | Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com> | 2020-04-03 14:20:58 +0300 |
---|---|---|
committer | Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com> | 2020-04-03 16:00:04 +0300 |
commit | be44219f15d0dee68edb5fd9370f8bb76c71c71d (patch) | |
tree | e2fa277bb1dfeaa33b4657edd40409be2159ddb4 /virtual-media.json | |
parent | 12dd8d9623726c6272f88b56a7dccf76e1304514 (diff) | |
download | virtual-media-be44219f15d0dee68edb5fd9370f8bb76c71c71d.tar.xz |
Make 'Legacy mode' (mounting through HTTPS or SMB) configurable at compile time.
This change modifies the default configuration and removes ability
to configure endpoints in such mode.
Tests performed:
Tested on WilsonCity for regression. Proxy mode works.
Manual configuration injection (modifying virtual-media.json)
didn't enable Legacy endpoints - they are ignored.
Change-Id: Idb63f1cf0f391dc428d6ad3d8e3684017d509369
Signed-off-by: Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com>
Diffstat (limited to 'virtual-media.json')
-rw-r--r-- | virtual-media.json | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/virtual-media.json b/virtual-media.json index 3b63df3..d3bfc51 100644 --- a/virtual-media.json +++ b/virtual-media.json @@ -16,22 +16,6 @@ "UnixSocket": "/tmp/nbd1.sock", "Timeout": 30, "BlockSize": 512 - }, - "USB1": { - "EndpointId": "", - "Mode": 1, - "NBDDevice": "nbd2", - "UnixSocket": "/tmp/nbd2.sock", - "Timeout": 30, - "BlockSize": 512 - }, - "USB2": { - "EndpointId": "", - "Mode": 1, - "NBDDevice": "nbd3", - "UnixSocket": "/tmp/nbd3.sock", - "Timeout": 30, - "BlockSize": 512 } } -} +}
\ No newline at end of file |