mirror of
https://github.com/dockur/windows.git
synced 2026-01-21 18:33:02 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59b98fe211 | ||
|
|
787f815527 | ||
|
|
77358f0632 | ||
|
|
68457e56d6 |
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -92,6 +92,13 @@ jobs:
|
|||||||
uses: action-pack/bump@v2
|
uses: action-pack/bump@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
|
-
|
||||||
|
name: Push to Gitlab mirror
|
||||||
|
uses: action-pack/gitlab-sync@v3
|
||||||
|
with:
|
||||||
|
url: ${{ secrets.GITLAB_URL }}
|
||||||
|
token: ${{ secrets.GITLAB_TOKEN }}
|
||||||
|
username: ${{ secrets.GITLAB_USERNAME }}
|
||||||
-
|
-
|
||||||
name: Send mail
|
name: Send mail
|
||||||
uses: action-pack/send-mail@v1
|
uses: action-pack/send-mail@v1
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=qemux/qemu-docker:4.15 / /
|
COPY --from=qemux/qemu-docker:4.17 / /
|
||||||
|
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS "yes"
|
||||||
ARG DEBIAN_FRONTEND "noninteractive"
|
ARG DEBIAN_FRONTEND "noninteractive"
|
||||||
ARG DEBCONF_NONINTERACTIVE_SEEN "true"
|
ARG DEBCONF_NONINTERACTIVE_SEEN "true"
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||||||
|
|
||||||
* ### How do I connect using RDP?
|
* ### How do I connect using RDP?
|
||||||
|
|
||||||
The web-viewer is mainly ment to be used during installation, as its picture quality is low, and it has no audio or clipboard for example.
|
The web-viewer is mainly meant to be used during installation, as its picture quality is low, and it has no audio or clipboard for example.
|
||||||
|
|
||||||
So for a better experience you can connect using any Microsoft Remote Desktop client to the IP of the container, using the username `docker` and by leaving the password empty.
|
So for a better experience you can connect using any Microsoft Remote Desktop client to the IP of the container, using the username `docker` and by leaving the password empty.
|
||||||
|
|
||||||
@@ -227,6 +227,8 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
DHCP: "Y"
|
DHCP: "Y"
|
||||||
|
devices:
|
||||||
|
- /dev/vhost-net
|
||||||
device_cgroup_rules:
|
device_cgroup_rules:
|
||||||
- 'c *:* rwm'
|
- 'c *:* rwm'
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ trap - ERR
|
|||||||
info "Booting $APP using $VERS..."
|
info "Booting $APP using $VERS..."
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo
|
[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo
|
||||||
|
|
||||||
|
if [[ "$CONSOLE" == [Yy]* ]]; then
|
||||||
|
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
||||||
|
fi
|
||||||
|
|
||||||
{ qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
{ qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
||||||
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
||||||
|
|
||||||
@@ -31,4 +35,5 @@ tail -fn +0 "$QEMU_LOG" 2>/dev/null &
|
|||||||
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
|
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
|
||||||
wait $! || :
|
wait $! || :
|
||||||
|
|
||||||
sleep 1 && finish 0
|
sleep 1 & wait $!
|
||||||
|
finish 0
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
: "${SAMBA:="Y"}"
|
||||||
|
|
||||||
[[ "$DHCP" == [Yy1]* ]] && return 0
|
[[ "$DHCP" == [Yy1]* ]] && return 0
|
||||||
|
[[ "$SAMBA" != [Yy1]* ]] && return 0
|
||||||
|
[[ "$NETWORK" != [Yy1]* ]] && return 0
|
||||||
|
|
||||||
SHARE="$STORAGE/shared"
|
SHARE="$STORAGE/shared"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user