diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 537780a..4c49fad 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -961,7 +961,7 @@ fn machine_configuration_script(config: &MachineConfig) -> String { | |||
| 961 | script.push_str("echo 524288 > /proc/sys/net/ipv4/tcp_max_orphans\n"); | 961 | script.push_str("echo 524288 > /proc/sys/net/ipv4/tcp_max_orphans\n"); |
| 962 | 962 | ||
| 963 | // exit docker swarm and remove all networks | 963 | // exit docker swarm and remove all networks |
| 964 | script.push_str("docker swarm leave || true\n"); | 964 | script.push_str("docker swarm leave --force || true\n"); |
| 965 | script.push_str("docker network ls -q | xargs docker network rm -f || true\n"); | 965 | script.push_str("docker network ls -q | xargs docker network rm -f || true\n"); |
| 966 | 966 | ||
| 967 | // ip configuration | 967 | // ip configuration |
