mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update readme.md
adding documentation to custom.iso simultaneously with customized automatic install
This commit is contained in:
parent
07a628a53c
commit
df12ac042e
1 changed files with 10 additions and 0 deletions
10
readme.md
10
readme.md
|
|
@ -180,6 +180,16 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
||||||
|
|
||||||
Replace the example path `/home/user/custom.xml` with the filename of the modified XML file.
|
Replace the example path `/home/user/custom.xml` with the filename of the modified XML file.
|
||||||
|
|
||||||
|
|
||||||
|
NOTE: If you are using a custom image (custom.iso) you can customize the settings for the automatic isntallation by providing a custom.xml file in your compose file. For example, add the following line inside your compose file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
volumes:
|
||||||
|
- /home/user/custom.xml:/run/assets/custom.xml
|
||||||
|
```
|
||||||
|
|
||||||
|
Replace the example path `/home/user/custom.xml` with the filename of the modified XML file.
|
||||||
|
|
||||||
* ### How do I run a script after installation?
|
* ### How do I run a script after installation?
|
||||||
|
|
||||||
To run your own script after installation, you can create a file called `install.bat` and place it in a folder together with other files it needs (programs to install for example). Then bind it in your compose file like this:
|
To run your own script after installation, you can create a file called `install.bat` and place it in a folder together with other files it needs (programs to install for example). Then bind it in your compose file like this:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue