This and the next function should be moved to actions as well. Like https://github.com/opennode/opennode-tui/blob/master/opennode/cli/actions/vm/openvz.py#L154