Allow "preseed" as a valid installation option.
authorQuentin Smith <quentin@mit.edu>
Mon, 27 Dec 2010 06:28:24 +0000 (01:28 -0500)
committerQuentin Smith <quentin@mit.edu>
Mon, 27 Dec 2010 06:28:24 +0000 (01:28 -0500)
debian/changelog
server/usr/sbin/invirt-remote-create

index ef83ffa..6a92571 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote (0.4.8) unstable; urgency=low
+
+  * Allow "preseed" as a valid installation option.
+
+ -- Quentin Smith <quentin@mit.edu>  Mon, 27 Dec 2010 01:28:05 -0500
+
 invirt-remote (0.4.7) unstable; urgency=low
 
   * Minor fix of 0.4.6
index 3bffba2..9f5817a 100755 (executable)
@@ -42,7 +42,7 @@ def main(argv):
 
     if operation == 'install':
         options = dict(arg.split('=', 1) for arg in args)
-        valid_keys = set(('mirror', 'dist', 'arch', 'imagesize', 'noinstall'))
+        valid_keys = set(('mirror', 'dist', 'arch', 'imagesize', 'noinstall', 'preseed'))
         if not set(options.keys()).issubset(valid_keys):
             print >> sys.stderr, "Invalid argument. Use the help command to see valid arguments to install"
             return 1