git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
34bbf77
)
protect against missing tags in start
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 20 Jun 2013 10:27:29 +0000
(12:27 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 20 Jun 2013 10:27:29 +0000
(12:27 +0200)
sliver_lxc.py
patch
|
blob
|
history
diff --git
a/sliver_lxc.py
b/sliver_lxc.py
index
c409b32
..
f785e9c
100644
(file)
--- 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