summaryrefslogtreecommitdiffstats
path: root/cobbler/modules/cli_network.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/modules/cli_network.py')
-rw-r--r--cobbler/modules/cli_network.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/modules/cli_network.py b/cobbler/modules/cli_network.py
index c20a77fc..16575052 100644
--- a/cobbler/modules/cli_network.py
+++ b/cobbler/modules/cli_network.py
@@ -107,6 +107,8 @@ class NetworkFunction(commands.CobblerFunction):
if self.options.comment is not None:
obj.set_comment(self.options.comment)
+ obj.update_free()
+
return self.object_manipulator_finish(obj, self.api.networks, self.options)