mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-01 23:44:58 +08:00
fix: Remove nat option (#1068)
Some checks failed
Update / dockerHubDescription (push) Has been cancelled
Some checks failed
Update / dockerHubDescription (push) Has been cancelled
This commit is contained in:
parent
b1a778d7b2
commit
6158372eaa
@ -131,7 +131,7 @@ configureDNS() {
|
||||
rm -f "$log"
|
||||
|
||||
case "${NETWORK,,}" in
|
||||
"nat" | "tap" | "tun" | "tuntap" | "y" )
|
||||
"tap" | "tun" | "tuntap" | "y" )
|
||||
|
||||
# Create lease file for faster resolve
|
||||
echo "0 $mac $ip $host 01:$mac" > /var/lib/misc/dnsmasq.leases
|
||||
@ -786,7 +786,7 @@ else
|
||||
|
||||
case "${NETWORK,,}" in
|
||||
"user"* | "passt" | "slirp" ) ;;
|
||||
"nat" | "tap" | "tun" | "tuntap" | "y" )
|
||||
"tap" | "tun" | "tuntap" | "y" )
|
||||
|
||||
# Configure tap interface
|
||||
if ! configureNAT; then
|
||||
@ -803,7 +803,7 @@ else
|
||||
[[ "${NETWORK,,}" == "user"* ]] && NETWORK="passt"
|
||||
|
||||
case "${NETWORK,,}" in
|
||||
"nat" | "tap" | "tun" | "tuntap" | "y" ) ;;
|
||||
"tap" | "tun" | "tuntap" | "y" ) ;;
|
||||
"passt" )
|
||||
|
||||
# Configure for user-mode networking (passt)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user