← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/utah:preseed-runlist-url-checks into utah:master

 

Tim Andersson has proposed merging ~andersson123/utah:preseed-runlist-url-checks into utah:master.

Requested reviews:
  UTAH Dev (utah)

For more details, see:
https://code.launchpad.net/~andersson123/utah/+git/utah/+merge/488013

Drop some command line arg checks from utah to make it work with git.lp.n
-- 
Your team UTAH Dev is requested to review the proposed merge of ~andersson123/utah:preseed-runlist-url-checks into utah:master.
diff --git a/utah/parser.py b/utah/parser.py
index aeca2ad..401dd4a 100644
--- a/utah/parser.py
+++ b/utah/parser.py
@@ -20,7 +20,6 @@ import sys
 import os
 
 from utah.config import config
-from utah.run import master_runlist_argument
 from utah.url import url_argument
 
 
@@ -96,7 +95,7 @@ def get_parser():
                         help='Reuse a system that is already provisioned '
                              '(name argument must be passed)')
     parser.add_argument('runlist', metavar='runlist',
-                        type=master_runlist_argument,
+                        type=str,
                         help='URLs of runlist files to run')
     parser.add_argument('-s', '--series', metavar='SERIES',
                         choices=config.serieschoices,
@@ -135,7 +134,7 @@ def get_parser():
     parser.add_argument('-i', '--image', type=url_argument,
                         default=config.image,
                         help='Image/ISO file to use for installation')
-    parser.add_argument('-p', '--preseed', type=url_argument,
+    parser.add_argument('-p', '--preseed', type=str,
                         default=config.preseed,
                         help='Preseed file to use for installation')
     parser.add_argument('-b', '--boot',

Follow ups