mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
fix: Use IP as host for DHCP
This commit is contained in:
parent
84ea9ee36e
commit
e77681b9f0
1 changed files with 5 additions and 1 deletions
|
|
@ -8,7 +8,11 @@ set -Eeuo pipefail
|
||||||
|
|
||||||
hostname="host.lan"
|
hostname="host.lan"
|
||||||
interface="dockerbridge"
|
interface="dockerbridge"
|
||||||
[[ "$DHCP" == [Yy1]* ]] && interface="$VM_NET_DEV"
|
|
||||||
|
if [[ "$DHCP" == [Yy1]* ]]; then
|
||||||
|
hostname="$IP"
|
||||||
|
interface="$VM_NET_DEV"
|
||||||
|
fi
|
||||||
|
|
||||||
share="$STORAGE/shared"
|
share="$STORAGE/shared"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue