Allow "preseed" as a valid installation option.
[invirt/packages/invirt-remote.git] / server / usr / sbin / invirt-remote-create
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