forked from uncloud/uncloud
commit stuff before dominique does
This commit is contained in:
parent
8888f5d9f7
commit
8e839aeb44
2 changed files with 3 additions and 7 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import argparse
|
||||
import logging
|
||||
|
||||
from uncloud.hack.vm import VM
|
||||
from uncloud.hack.config import Config
|
||||
|
|
@ -22,11 +23,11 @@ arg_parser.add_argument('--run-dns-ra', action='store_true',
|
|||
help="Provide router advertisements and DNS resolution via dnsmasq")
|
||||
arg_parser.add_argument('--use-sudo', help="Use sudo for command requiring root!", action='store_true')
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def main(arguments):
|
||||
print(arguments)
|
||||
log.debug("args={}".format(arguments))
|
||||
config = Config(arguments)
|
||||
|
||||
if arguments['create_vm']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue