add extra_script option and qemu-guest-agen sock wrapper

This commit is contained in:
Gytis Stoškevičius 2025-04-04 13:53:19 +00:00
parent e77b22aaa1
commit d04cc507f0
6 changed files with 263 additions and 9 deletions

View file

@ -465,6 +465,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>25</Order>
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "IPAutoconfigurationEnabled" /t REG_DWORD /d 0 /f</CommandLine>
<Description>Disable ip autoconfiguration for network interfaces</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>26</Order>
<CommandLine>cmd /C "type nul > \\host.lan\Data\prepared"</CommandLine>
<Description>Let host known that all configuration is done</Description>
</SynchronousCommand>