Skip to content
Snippets Groups Projects
Commit 278bc1f8 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Implment the New-WdsClient comment

parent 0e0957c7
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ class WdsServer < ApplicationRecord ...@@ -79,7 +79,7 @@ class WdsServer < ApplicationRecord
ensure_unattend(host) ensure_unattend(host)
connection.shell(:powershell) do |sh| connection.shell(:powershell) do |sh|
# New-WdsClient -DeviceID '#{host.mac.upcase.delete ':'}' -DeviceName '#{host.name}' -WdsClientUnattend '#{unattend_file(host)}' -BootImagePath 'boot\\#{wdsify_architecture(host.architecture)}\\images\\#{(host.wds_boot_image || boot_images.first).file_name}' -PxePromptPolicy 'NoPrompt' sh.run("New-WdsClient -DeviceID '#{host.mac.upcase.delete ':'}' -DeviceName '#{host.name}' -WdsClientUnattend '#{unattend_file(host)}' -BootImagePath 'boot\\#{wdsify_architecture(host.architecture)}\\images\\#{(host.wds_boot_image || boot_images.first).file_name}' -PxePromptPolicy 'NoPrompt'")
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment