summaryrefslogtreecommitdiff
path: root/test/helpers.bash
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-12-11 15:41:19 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-14 23:59:21 +0000
commit9e5637f9e8883cc19d18084300f3eb9948b46933 (patch)
treef44e74f296c9b9655f886d00da579f39eb95500f /test/helpers.bash
parente40512cbaa16386bc221c06f1a2c9e57c109f82e (diff)
downloadpodman-9e5637f9e8883cc19d18084300f3eb9948b46933.tar.gz
podman-9e5637f9e8883cc19d18084300f3eb9948b46933.tar.bz2
podman-9e5637f9e8883cc19d18084300f3eb9948b46933.zip
Fix network configurations to have a valid CIDR subnet
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #109 Approved by: mheon
Diffstat (limited to 'test/helpers.bash')
-rw-r--r--test/helpers.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helpers.bash b/test/helpers.bash
index b14802afc..abf481c9a 100644
--- a/test/helpers.bash
+++ b/test/helpers.bash
@@ -205,7 +205,7 @@ function prepare_network_conf() {
"ipMasq": true,
"ipam": {
"type": "host-local",
- "subnet": "$1",
+ "subnet": "10.20.40.0/24",
"routes": [
{ "dst": "0.0.0.0/0" }
]
@@ -235,7 +235,7 @@ function prepare_plugin_test_args_network_conf() {
"ipMasq": true,
"ipam": {
"type": "host-local",
- "subnet": "$1",
+ "subnet": "10.20.40.0/24",
"routes": [
{ "dst": "0.0.0.0/0" }
]