lib/elecksee/lxc_file_config.rb in elecksee-1.1.6 vs lib/elecksee/lxc_file_config.rb in elecksee-1.1.8
- old
+ new
@@ -77,10 +77,10 @@
end
end
if(resource[:cap_drop])
config << "lxc.cap.drop = #{Array(resource[:cap_drop]).join(' ')}"
end
- %w(pts tty arch devttydir mount mount_entry rootfs rootfs_mount pivotdir).each do |k|
+ %w(include pts tty arch devttydir mount mount_entry rootfs rootfs_mount pivotdir).each do |k|
config << "lxc.#{k.sub('_', '.')} = #{resource[k.to_sym]}" if resource[k.to_sym]
end
prefix = 'lxc.cgroup'
resource[:cgroup].each_pair do |key, value|
if(value.is_a?(Array))