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

Only enableUUID on Windows

parent 6f456811
No related branches found
No related tags found
No related merge requests found
...@@ -11,10 +11,13 @@ module ForemanVmwareAdvanced ...@@ -11,10 +11,13 @@ module ForemanVmwareAdvanced
args[:extra_config] = { args[:extra_config] = {
'bios.bootOrder' => 'ethernet0', 'bios.bootOrder' => 'ethernet0',
'disk.enableUUID' => 'TRUE',
'svga.autodetect' => 'TRUE' 'svga.autodetect' => 'TRUE'
} }
if args[:compute_attributes][:guest_id].start_with? 'win'
args[:extra_config]['disk.enableUUID'] = 'TRUE'
end
args args
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment