# File lib/chef/knife/windows_bootstrap.rb, line 71 def mount_admin_share if @add_mount && !is_mounted use = { :remote => @admin_share, :local => '', :username => config[:user], :password => config[:password] } @net_use.add(use) if is_mounted Chef::Log.info("Mounted #{@admin_share} for copying files") else Chef::Log.fatal("Failed to mount #{@admin_share}") exit 1 end end end