Add `vzctl.unmount` operation.
@@ -65,6 +65,17 @@ def mount(state, host, ctid):
yield 'vzctl mount {0}'.format(ctid)
+@operation
+def unmount(state, host, ctid):
+ '''
+ Unmount OpenVZ container filesystems.
+
+ + ctid: CTID of the container to unmount
+ '''
+
+ yield 'vzctl umount {0}'.format(ctid)
+
+
@operation
def delete(state, host, ctid):
'''
