lib/dev-lxc/server.rb in dev-lxc-1.6.1 vs lib/dev-lxc/server.rb in dev-lxc-1.6.2

- old
+ new

@@ -29,10 +29,12 @@ @role = @config["role"] @role ||= cluster_config[@server_type]['topology'] @role ||= 'standalone' @mounts = cluster_config[@server_type]["mounts"] @mounts ||= cluster_config["mounts"] + @ssh_keys = cluster_config[@server_type]["ssh-keys"] + @ssh_keys ||= cluster_config["ssh-keys"] @platform_image_name = cluster_config[@server_type]["platform_image"] @platform_image_name ||= cluster_config["platform_image"] @platform_image_options = cluster_config[@server_type]["platform_image_options"] @platform_image_options ||= cluster_config["platform_image_options"] @packages = cluster_config[@server_type]["packages"] @@ -96,9 +98,10 @@ DevLXC.create_dns_record(@supermarket_fqdn, @server.name, @ipaddress) end end @server.sync_mounts(@mounts) @server.start + @server.sync_ssh_keys(@ssh_keys) end def stop hwaddr = @server.config_item("lxc.network.0.hwaddr") if @server.defined? @server.stop