blob: 8cd0aef4ab277d35204fc940e452f2745bf16af3 [file] [log] [blame]
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07001# Copyright 2016 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -08005"""CLI entry point into lib/vm.py; used for VM management."""
Achuith Bhandarkard8d19292016-05-03 14:32:58 -07006
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -08007from chromite.lib import vm
Achuith Bhandarkar9f49aca2018-10-30 17:46:07 -07008
Mike Frysinger4a243fb2020-02-21 02:56:35 -05009
Achuith Bhandarkard8d19292016-05-03 14:32:58 -070010def main(argv):
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -080011 opts = vm.VM.GetParser().parse_args(argv)
Achuith Bhandarkar2beae292018-03-26 16:44:53 -070012 opts.Freeze()
13
Achuith Bhandarkare3d5e572018-11-17 14:29:51 -080014 vm.VM(opts).Run()