diff options
author | Chad Smith <chad.smith@canonical.com> | 2017-08-23 18:54:01 -0600 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2017-08-25 14:41:55 -0700 |
commit | 89579a68d9f51e51b24f96b933da656afd83edfb (patch) | |
tree | eb274c56ed202b5729d8da9f8798271c652778d1 /doc/examples/cloud-config-launch-index.txt | |
parent | 44773a480d8fe32e97da44afd01e5882a480d136 (diff) | |
download | vyos-cloud-init-89579a68d9f51e51b24f96b933da656afd83edfb.tar.gz vyos-cloud-init-89579a68d9f51e51b24f96b933da656afd83edfb.zip |
cli: Fix command line parsing of coniditionally loaded subcommands.
In an effort to save file load cost during system boot, certain
subcommands, analyze and devel, do not get loaded unless the subcommand is
specified on the commandline. Because setup.py entrypoint for cloud-init
script doesn't specify sysv_args parameter when calling the CLI's main()
we need main to read sys.argv into sysv_args so our subparser loading
continues to work.
LP: #1712676
Diffstat (limited to 'doc/examples/cloud-config-launch-index.txt')
0 files changed, 0 insertions, 0 deletions