Add missing subnets setup, fixes #190

- Also setup subnet routes when firewall is disabled
This commit is contained in:
Quentin McGaw
2020-07-12 21:21:41 +00:00
parent 0731b1cb82
commit 4cd6b33044
3 changed files with 30 additions and 2 deletions

View File

@@ -48,7 +48,6 @@ func (c *configurator) disable(ctx context.Context) (err error) {
if err = c.setAllPolicies(ctx, "ACCEPT"); err != nil {
return fmt.Errorf("cannot disable firewall: %w", err)
}
// TODO routes?
return nil
}