summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-11-29 12:45:15 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-11-29 12:45:15 -0500
commite451ca8a9d28db9cd69542cd9a96e62cda686494 (patch)
tree8f3f41487a8b24ae4f22b40b057589406274245b /cobbler
parent3b49fe8523285b77a7b7805bb3f2e2a4e29a6674 (diff)
downloadthird_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.py1
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)