Commit e9560d5f authored by Kristopher Ruzic's avatar Kristopher Ruzic

some debugging...

parent 0087450a
......@@ -27,11 +27,13 @@
from slapos.recipe.librecipe import GenericBaseRecipe
import os
import sys
import logging
class Recipe(GenericBaseRecipe):
"""
kvm instance configuration.
"""
self.logger = logging.getLogger("KVM RECIPE")
def install(self):
# Sanitize drive type parameter
self.options.setdefault('disk-type', 'virtio')
......@@ -64,7 +66,8 @@ class Recipe(GenericBaseRecipe):
),
)
path_list.append(tunnel_path)
print len(self.options)
self.logger.warning(len(self.options))
self.logger.warning(self.options)
runner_path = self.createExecutable(
self.options['runner-path'],
self.substituteTemplate(self.getTemplateFilename('kvm_run.in'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment