diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-11-29 12:45:15 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-11-29 12:45:15 -0500 |
commit | e451ca8a9d28db9cd69542cd9a96e62cda686494 (patch) | |
tree | 8f3f41487a8b24ae4f22b40b057589406274245b /cobbler | |
parent | 3b49fe8523285b77a7b7805bb3f2e2a4e29a6674 (diff) | |
download | third_party-cobbler-e451ca8a9d28db9cd69542cd9a96e62cda686494.tar.gz third_party-cobbler-e451ca8a9d28db9cd69542cd9a96e62cda686494.tar.xz third_party-cobbler-e451ca8a9d28db9cd69542cd9a96e62cda686494.zip |
Rewire virt_type into the CLI, which was missing in the rewritten version.
Diffstat (limited to 'cobbler')
-rw-r--r-- | cobbler/modules/cli_profile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/modules/cli_profile.py b/cobbler/modules/cli_profile.py index 8189e7c..3026c3c 100644 --- a/cobbler/modules/cli_profile.py +++ b/cobbler/modules/cli_profile.py @@ -78,6 +78,7 @@ class ProfileFunction(commands.CobblerFunction): if self.options.virt_file_size: obj.set_virt_file_size(self.options.virt_file_size) if self.options.virt_ram: obj.set_virt_ram(self.options.virt_ram) if self.options.virt_bridge: obj.set_virt_bridge(self.options.virt_bridge) + if self.options.virt_type: obj.set_virt_type(self.options.virt_type) if self.options.virt_cpus: obj.set_virt_cpus(self.options.virt_cpus) if self.options.repos: obj.set_repos(self.options.repos) if self.options.virt_path: obj.set_virt_path(self.options.virt_path) |