X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sliver_lxc.py;h=f785e9c03da63b30c10ca96c895598fded959f93;hb=7b50fb7fc973b74fe81b5000febebc5657432508;hp=c409b329e66892970aba99804cb27c506e8a3ca9;hpb=34bbf772786e0e674d2b83ddfb079cb060830ff1;p=nodemanager.git diff --git a/sliver_lxc.py b/sliver_lxc.py index c409b32..f785e9c 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -48,7 +48,7 @@ class Sliver_LXC(Sliver_Libvirt, Initscript): # the generic /etc/init.d/vinit script is permanently refreshed, and enabled self.install_and_enable_vinit() # expose .ssh for omf_friendly slivers - if 'omf_control' in self.rspec['tags']: + if 'tags' in self.rspec and 'omf_control' in self.rspec['tags']: Account.mount_ssh_dir(self.name) Sliver_Libvirt.start (self, delay) # if a change has occured in the slice initscript, reflect this in /etc/init.d/vinit.slice