lib/dev-lxc/container.rb in dev-lxc-1.2.2 vs lib/dev-lxc/container.rb in dev-lxc-1.3.0

- old
+ new

@@ -183,9 +183,11 @@ puts "ERROR: Base container '#{base_container_name} does not exist" exit 1 end base_container.clone(self.name, {:flags => LXC::LXC_CLONE_SNAPSHOT}) self.load_config + puts "Deleting SSH Server Host Keys" + FileUtils.rm_f(Dir.glob("#{self.config_item('lxc.rootfs')}/etc/ssh/ssh_host*_key*")) end end self.start unless self.running? self.install_chef_client(version) self.configure_chef_client(chef_server_url, validation_client_name, validation_key)