lib/dev-lxc/server.rb in dev-lxc-1.0.1 vs lib/dev-lxc/server.rb in dev-lxc-1.1.0

- old
+ new

@@ -55,10 +55,10 @@ @shared_image_name += "-pushy-#{Regexp.last_match[1].gsub(".", "-")}" if @packages["push-jobs-server"].to_s.match(/[_-]((\d+\.?){3,})/) @shared_image_name += "-sync-#{Regexp.last_match[1].gsub(".", "-")}" if @packages["sync"].to_s.match(/[_-]((\d+\.?){3,})/) end end - def abspath(rootfs_path) + def realpath(rootfs_path) "#{@server.config_item('lxc.rootfs')}#{rootfs_path}" if @server.defined? end def run_command(command) if @server.running?