mirror of
https://github.com/containers/podman.git
synced 2025-06-19 16:33:24 +08:00
Fix network configurations to have a valid CIDR subnet
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #109 Approved by: mheon
This commit is contained in:
@ -205,7 +205,7 @@ function prepare_network_conf() {
|
|||||||
"ipMasq": true,
|
"ipMasq": true,
|
||||||
"ipam": {
|
"ipam": {
|
||||||
"type": "host-local",
|
"type": "host-local",
|
||||||
"subnet": "$1",
|
"subnet": "10.20.40.0/24",
|
||||||
"routes": [
|
"routes": [
|
||||||
{ "dst": "0.0.0.0/0" }
|
{ "dst": "0.0.0.0/0" }
|
||||||
]
|
]
|
||||||
@ -235,7 +235,7 @@ function prepare_plugin_test_args_network_conf() {
|
|||||||
"ipMasq": true,
|
"ipMasq": true,
|
||||||
"ipam": {
|
"ipam": {
|
||||||
"type": "host-local",
|
"type": "host-local",
|
||||||
"subnet": "$1",
|
"subnet": "10.20.40.0/24",
|
||||||
"routes": [
|
"routes": [
|
||||||
{ "dst": "0.0.0.0/0" }
|
{ "dst": "0.0.0.0/0" }
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user